#8703: Development server fails to load settings
------------------------------------------------+---------------------------
          Reporter:  benspaulding               |         Owner:  nobody
            Status:  new                        |     Milestone:  1.0   
         Component:  django-admin.py runserver  |       Version:  SVN   
        Resolution:                             |      Keywords:        
             Stage:  Accepted                   |     Has_patch:  0     
        Needs_docs:  0                          |   Needs_tests:  0     
Needs_better_patch:  0                          |  
------------------------------------------------+---------------------------
Changes (by mtredinnick):

  * stage:  Unreviewed => Accepted

Comment:

 So the problem with this patch, Karen, is that if you call `django-
 admin.py --settings=foo` (for appropriate value of "foo") ''and'' you have
 `DJANGO_SETTINGS_MODULE` set to something else, the settings used and the
 environment variable end up being different, because the latter doesn't
 get set appropriately. That will lead to very difficult to diagnose bugs
 down the track when something only reads the environment variable for some
 reason (I don't know what that would be, but when it happens, it will be
 very weird behaviour). We've tried hard to always keep the environment
 variable synchronised.

 So we have to find a way to set it properly here. This looks like a bug,
 but the solution needs a different touch (and I'm not going to work out
 what that is right now, because it's nap time).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8703#comment:4>
Django Code <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