Ticket #7622: __init__.py.diff

File __init__.py.diff, 216 bytes (added by Derek Anderson <public@…>, 16 years ago)

adds reasonable default for DJANGO_SETTINGS_MODULE

Line 
113a14
2> DEFAULT_SETTINGS_MODULE = "settings"
351c52
4< settings_module = os.environ[ENVIRONMENT_VARIABLE]
5---
6> settings_module = os.environ.get( ENVIRONMENT_VARIABLE, DEFAULT_SETTINGS_MODULE )
Back to Top