Reputation: 33
Any time I make a change in the view, and HTML, or CSS, I have to stop and re-run
python manage.py runserver
for my changes to be dispayed. This is very annoying because it wastes a lot of my time trying to find the terminal and run it again. Is there a workaround for this?
Upvotes: 1
Views: 474
Reputation: 227
My advice is to use Vscode for Django developing because it gives you autosave feature so you don't have to stop and rerun the server the only thing you have to do is reload the web page. I hope it might be helpful
Upvotes: 0
Reputation: 1063
python manage.py runserver
should normally perform hot reload on your Django application, except you've updated the config in the settings.py file. Check if DEBUG = True
in settings.py
Upvotes: 2