Ticket #16504: add_project_root_to_settings.diff
File add_project_root_to_settings.diff, 460 bytes (added by , 13 years ago) |
---|
-
django/conf/project_template/settings.py
1 1 # Django settings for {{ project_name }} project. 2 2 3 from os.path import abspath, dirname, join 4 PROJECT_ROOT = abspath(dirname(__file__)).replace('\\', '/') 5 3 6 DEBUG = True 4 7 TEMPLATE_DEBUG = DEBUG 5 8