Debug tool bar + runserver is very handy. But production environment have a root_path. Say, such as IPaddress/simle_project. Now we change the root_path in url.py each time for prodction. Is there any better way to resolve this problem?
Two possible solutions:
1. Runserver with the root_path
2. Root_path to be adjusted automatically
Neither I don’t know how…
I checked this below but this did not help.
https://groups.google.com/forum/#!searchin/django-users/runserver$20with$20path/django-users/8eRf0WABCX4/QcmHKzoE4RoJ