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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d03123ad-6fa0-4279-ad97-9e36cf816c62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to