Changeset 349
- Timestamp:
- 05/09/08 13:00:24 (7 months ago)
- Files:
-
- trunk/src/dm/django/settings/main.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/dm/django/settings/main.py
r239 r349 1 1 from dm.ioc import RequiredFeature 2 2 from dm import dictionarywords 3 from dm.debug import Debug4 3 5 4 dictionary = RequiredFeature('SystemDictionary') … … 7 6 # 8 7 ## Settings commonly defined in the system dictionary. 9 10 DEBUG = True 11 12 TEMPLATE_DIRS = ( 13 dictionary[dictionarywords.DJANGO_TEMPLATES_DIR], 14 ) 15 8 DEBUG = dictionary[dictionarywords.SYSTEM_MODE] != 'production', 9 TEMPLATE_DIRS = (dictionary[dictionarywords.DJANGO_TEMPLATES_DIR],) 16 10 TIME_ZONE = dictionary[dictionarywords.TIMEZONE] 17 18 # todo: get this from the system dictionary19 11 SECRET_KEY = dictionary[dictionarywords.DJANGO_SECRET_KEY] 20 12
