#15356: Possible problem with setting import in django/http/__init__.py
---------------------------+------------------------------------------------
 Reporter:  mila           |          Owner:  nobody    
   Status:  new            |      Milestone:            
Component:  HTTP handling  |        Version:  SVN       
 Keywords:                 |   Triage Stage:  Unreviewed
Has patch:  0              |  
---------------------------+------------------------------------------------
 Comments in QueryDict `_get_encoding` and `__init__` methods say:
 > *Important*: do not import settings at the module level because of the
 note in core.handlers.modpython.
 and settings are imported inside these methods:
 http://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L327
 and
 http://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L339

 But settings ARE imported at the module level too:
 http://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L124

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15356>
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.

Reply via email to