Answer the question
In order to leave comments, you need to log in
How to overcome the error Incomplete response received from application?
It is necessary to add a new section to the site, which everyone forgot about when they ordered the site - News.
Unfortunately, I did not come across either django or python, but ... I did.
I found a more or less suitable similar section (folder) 'tech' made a copy of it and renamed everything where it occurs as tech to news (all classes and names in the paths)
Then I went to the main/urls.py folder and added it in the urlpatterns block similarly to other paths
path('news/', include('news.urls')),
reloaded the project
If you have changed project files and want to see the changes, you need to restart the project. To do this, create a .restart-app file in the root directory of your website
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question