If django where to ship something like this __file__ would point to somewhere
within the installation folder of django, which is obviously not what we want.
For this to even be considered (IMO) someone would have to present a workaround
for this issue first :)
--
Thomas Kongevold Adamcik
Not necessarily true. If this code were in the settings.py from the
project_template it would get laid down in your project when you ran
django-admin.py startproject, which is, I think, the appropriate place
for this relative path stuff to land.
See: http://code.djangoproject.com/browser/django/trunk/django/conf/project_template/settings.py
+1 from me. :)
-Rob
Except for the part where it breaks/causes headaches for eggs and
zipped packages, both of which are somewhat popular in this Python
world.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
Except for the part where it breaks/causes headaches for eggs and
zipped packages, both of which are somewhat popular in this Python
world.