Re: About django.root

2009-06-29 Thread mugisha moses
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 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 de

About django.root

2009-06-28 Thread Frank Abel
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