My web host set up a django instance for me that can be accessed at
http://www.mysite.com/directory/. They've set up an Apache rule (or
something) that strips out the /directory/ before passing it on to
django, so as a result that url gets resolved by my url pattern "^$".

This is nice, the only problem is that the url's I generate from my
django app are missing the /directory/ part. For example, I've got a
page called

http://www.mysite.com/directory/register/

...but django's url function creates this:

http://www.mysite.com/register/

Is there a way to get django to append a /directory/ to the beginning
of each url it creates?

Kevin
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to