diff options
Diffstat (limited to 'example_project/settings.py')
-rw-r--r-- | example_project/settings.py | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index d30219452..febed6a61 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -4,14 +4,6 @@ import os -# Ishtar custom -SRID = 27572 -ENCODING = 'windows-1252' -APP_NAME = "SRA - Pays de la Loire" -SURFACE_UNIT = 'square-metre' -SURFACE_UNIT_LABEL = u'm²' -JOINT = u" - " - ROOT_PATH = os.path.abspath(os.path.curdir) + os.path.sep STATIC_URL = '/static/' STATIC_ROOT = ROOT_PATH + 'static/' @@ -23,9 +15,8 @@ XHTML2ODT_PATH = ROOT_PATH + "../xhtml2odt" ODT_TEMPLATE = ROOT_PATH + "../static/template.odt" LOGIN_REDIRECT_URL = "/" + URL_PATH -DEBUG = True +DEBUG = 1 TEMPLATE_DEBUG = DEBUG -TEST_RUNNER='django.contrib.gis.tests.run_tests' AUTH_PROFILE_MODULE = 'ishtar_common.IshtarUser' @@ -154,6 +145,21 @@ LOGGING = {'version': 1, }, } +# Ishtar custom +SRID = 27572 +ENCODING = 'windows-1252' +APP_NAME = "SRA - Pays de la Loire" +SURFACE_UNIT = 'square-metre' +SURFACE_UNIT_LABEL = u'm²' +JOINT = u" - " +ISHTAR_OPE_COL_FORMAT = None +# DB key: (txt_idx, label) +ISHTAR_OPE_TYPES = {} +# DB key: txt_idx +ISHTAR_PERIODS = {} + +EXTRA_APPS = [] + try: from local_settings import * except ImportError, e: |