diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-06 18:24:49 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-06 18:24:49 +0100 |
commit | 6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e (patch) | |
tree | 828819c4d1cfb9d193339b6b30ae737b745161df /example_project/settings.py | |
parent | 545b867b9e2c6bc208dc4fd8c13191a9872306b4 (diff) | |
download | Ishtar-6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e.tar.bz2 Ishtar-6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e.zip |
Work on imports
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: |