I am deploying my Django projects on a host where I have the following
kinds of URLs:

http://yrl.hostname.com/djangoproject1
http://yrl.hostname.com/djangoproject2

Then, let's say I also make app A for project 1 and app B for project
2.

http://yrl.hostname.com/djangoproject1/appA/
http://yrl.hostname.com/djangoproject2/appB/

Apps A and B are unrelated and I don't want to squish them under the
same project.

My problem is that when I use any of Django's batteries-included
functionalities, like the Admin site and the Comments framework,
Django is using links like:

http://yrl.hostname.com/admin/

instead of:

http://yrl.hostname.com/djangoproject1/admin/

In other words, I need a way to tell Django that my project root URL
is "/project1/" instead of the default "/".

Is there any way to do this?

Thanks,
Yiping

-- 
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