Hello, All my previous projects I've deployed them on the root of a web address. Now I have to deploy two in the same address eg: http://myserver.com/proj1 http://myserver.com/proj2
I'm using django.root to set the correct root (with works fine). I just have two questions: 1 - all the media are relative do /media/... is there a template variable with I can put there (I don't want to hardcode /proj1/ media/...) 2 - LOGIN_URL = '/auth/login' do I have to hardcode LOGIN_URL = '/ proj1/auth/login' or is there a solution? Regards, Luis --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---