can you try PROJECT_PATH = os.path.dirname(os.path.abspath(__file__)) in your django settings.py file? cheers
On Sun, Jun 28, 2009 at 7:09 PM, Frank Abel<frank.abel...@gmail.com> wrote: > > Hi all, > > I'm using mod_python and have "PythonOption django.root" set. > > My question is, how can I access that var (my site deploy path prefix) > so in case that my app change of location all URLs that my app generate > ("get_absolute_url" models method, etc.) have the new location? > > Cheers > Frank Abel > > > -- ======================================== Mugisha Moses P.O. Box 1420 Kampala, Uganda http://appfrica.org skype name : mossplix twitter: @mugisha --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---