Ticket #7622: add_default_settings_module.diff
File add_default_settings_module.diff, 314 bytes (added by , 16 years ago) |
---|
Line | |
---|---|
1 | diff -r django.orig/conf/__init__.py django/conf/__init__.py |
2 | 13a14 |
3 | > DEFAULT_SETTINGS_MODULE = "settings" |
4 | 51c52 |
5 | < settings_module = os.environ[ENVIRONMENT_VARIABLE] |
6 | --- |
7 | > settings_module = os.environ.get( ENVIRONMENT_VARIABLE, DEFAULT_SETTINGS_MODULE ) |
8 | Only in django/conf: __init__.py.bak |