I want to run a ready python project in virtual environment. When I run the project I face no error. And when I write this in the terminal "py manage.py runserver" , I can see just a label of the project in the browser and forms are not being shown. I searched a lot, this project is almost complete and is working in other systems. I don't know what changes I should apply to the project.
-
Can you share a link with us for this almost-ready project?Pretpark– Pretpark2022-09-27 09:23:27 +00:00Commented Sep 27, 2022 at 9:23
-
It is a project from a compony and I am not allowed to share the code, unfortunately.aida jbigloo– aida jbigloo2022-09-28 09:23:58 +00:00Commented Sep 28, 2022 at 9:23
-
When I run the project in Terminal I can see some results in "Starting development server at 127.0.0.1:8000". There are 3 versions for the project, then after selecting one of them, just a label is available and django and .json forms are not shown in the browser. I searched for it a lot but did not find a solution.aida jbigloo– aida jbigloo2022-09-28 09:26:46 +00:00Commented Sep 28, 2022 at 9:26
-
Without sharing your code i can't help you, sorry.Pretpark– Pretpark2022-09-28 11:19:55 +00:00Commented Sep 28, 2022 at 11:19
Add a comment
|
2 Answers
I also faced the same problem.
Because I had not executed the python manage.py collectstatic command after installing django_jsonform, the form that should have been displayed by django_jsonform was not displayed.
After activating the virtualenv, run the python manage.py collectstatic command.