#15642: Dead code in http.__init__.py
---------------------------+---------------------------
Reporter: jammon | Owner: nobody
Status: new | Milestone:
Component: HTTP handling | Version: SVN
Keywords: | Triage Stage: Unreviewed
Has patch: 0 |
---------------------------+---------------------------
In `http.__init__.py` the lines 329-331 read
{{{#!python
# *Important*: do not import settings any earlier because of
note
# in core.handlers.modpython.
from django.conf import settings
}}}
and the same in lines 341-343. But it says `from django.conf import
settings` already in line 124.
Lines 329-331 have been introduced in rev. 5609, and lines 341-343 in rev.
8460. The import in line 124 has been introduced in rev. 7814 three years
ago.
So I cannot tell if the lines can be deleted or if the mentioned note in
`core.handlers.modpython` should be obeyed.
--
Ticket URL: <http://code.djangoproject.com/ticket/15642>
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.