#3687: django.conf.settings reads DJANGO_SETTINGS_MODULE at import time
-----------------------------------+----------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian         
  Status:  new                     |   Component:  Template system
 Version:  0.95                    |    Keywords:                 
   Stage:  Unreviewed              |   Has_patch:  0              
-----------------------------------+----------------------------------------
 The import:
 
 from django.conf import settings
 
 Raises:
 
 EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is
 undefined.
 
 Which makes it impossible to use settings.configure() which as described
 http://www.djangoproject.com/documentation/templates_python/ under stand-
 alone mode.
 
 Expected behaviour: It should be possible to use settings.configure()
 instead of DJANGO_SETTINGS_MODULE.

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