#15631: There is no __file__ when settings.DEBUG = False
------------------------------------------+------------------------
Reporter: belegnar | Owner: belegnar
Status: closed | Milestone:
Component: Core framework | Version: SVN
Resolution: worksforme | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
------------------------------------------+------------------------
Changes (by DrMeers):
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
This must be something else in your setup; I can't see how `DEBUG` could
possibly affect `__file__` in this way. I quickly tested in an `admin.py`
to ensure I wasn't insane.
--
Ticket URL: <http://code.djangoproject.com/ticket/15631#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.