This might be wrong, but from my work on Django and reading the docs.

If you have a URL conf file like:
urlpatterns = patterns('',
    (r'^articles/2003/$', 'news.views.special_case_2003'),
)

It should work when you have the url www.abc.com/articles or if you
have www.abc.com/testSite/articles

In views and templates, the only way I know of doing them relative is
to use a lot of "../". Probably can create a context processor to have
a variable that would contani the root of the django application, if
you want to go that route.

Chris


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to