Django restart server or httpd


In django framework,When there are changes in or or .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

9/18/2010 5:36:25 PM

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

9/18/2010 6:12:35 PM

touch your_project_name.wsgi and save without any change. It will change data modify and django will automatically reloading code.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow