Ticket #16504: add_project_root_to_settings.diff

File add_project_root_to_settings.diff, 460 bytes (added by rvanhoepen, 13 years ago)
  • django/conf/project_template/settings.py

     
    11# Django settings for {{ project_name }} project.
    22
     3from os.path import abspath, dirname, join
     4PROJECT_ROOT = abspath(dirname(__file__)).replace('\\', '/')
     5
    36DEBUG = True
    47TEMPLATE_DEBUG = DEBUG
    58
Back to Top