Re: default_storage.location ignores MEDIA_ROOT under apache

2009-01-14 Thread raik
Problem solved: Turns out that I had a import django.core.files.storage line in my settings.py which triggered the initialization of default_storage before my own settings.py was parsed. Obviously, the development server has a different import order than modpython ... /Raik On Jan 12, 7:54 pm

default_storage.location ignores MEDIA_ROOT under apache

2009-01-12 Thread raik
On PythonOption django.root PythonPath "['/home/raik/data/py'] + sys.path" SetHandler None SetHandler None The error occurs in /home/raik/data/py/django/core/file/storage.py in line 207. The code fragment is: def path(self, name): try: