Maan Patel
Maan Patel

Reputation: 33

Is there a way I can avoid stopping and starting 'python manage.py runserver' on Django everytime I make a change?

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

Answers (2)

Ayesha_Shafique
Ayesha_Shafique

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

Olasimbo
Olasimbo

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

Related Questions