Application Name in Django urls.
I am running Pootle http://translate.sourceforge.net/wiki/pootle/index
which is basically a Django apps on dabian server. All the urls look
like:
http://<host>/account/login?next=index
http://<host>/docs/index.html
http://<host>/admin/
and so on.
I would like to add the application name before each path:
http://<host>/<app_name>/account/login?next=index
http://<host>/<app_name>/docs/index.html
etc.
How can I do that without changing the code? Urls inside templates are
always relatives.
Is there any configuration in Django?
I also have an apache in front of it.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home