Reputation: 526
When I run my Django Project in my local, Using Python manage.py runserver It takes too long to load, or reload after a change is made in the local *.py files.How Do i make it faster, So I can quickly reload my project when ever a file is changed.
Upvotes: 1
Views: 355
Reputation: 15078
It could be taking a while due to time of database connections opening. Are you running your database locally?
You can also enable things like auto-reload based on code changes by installing the django-extensions
and using ./manage.py runserver_plus
.
Also look at using the django-debug-toolbar
to profile SQL queries and look at what is coming through to your app.
Upvotes: 2