Search code examples
pythondjangodjango-modelsdjango-urlsdjango-views

Django restart server or httpd


In django framework,When there are changes in urls.py or model.py or views.py .We would restart httpd.

But as the documentation says we could restart runserver to get the latest changes.

Which is the best efficient way for doing the above


Solution

  • runserver.py restarts automatically every time you modify any .py file, but when you are using apache you have to restart the proccess manually.