diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-04-17 19:30:20 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-04-17 19:33:43 +0200 |
commit | f57f79d40b9a6c8cc1333165ee11a341c78be181 (patch) | |
tree | 9111c25f355c8b5f4d4d612a52505af3c5cf04fd /install/local_settings.py.sample | |
parent | d2715ef9bee36243ee4c07a5b1bd869f5cc81456 (diff) | |
download | Ishtar-f57f79d40b9a6c8cc1333165ee11a341c78be181.tar.bz2 Ishtar-f57f79d40b9a6c8cc1333165ee11a341c78be181.zip |
Install scripts
Diffstat (limited to 'install/local_settings.py.sample')
-rw-r--r-- | install/local_settings.py.sample | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/install/local_settings.py.sample b/install/local_settings.py.sample new file mode 100644 index 000000000..db40fe7bf --- /dev/null +++ b/install/local_settings.py.sample @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +DEBUG = False +DEBUG_TOOLBAR = False +TEMPLATE_DEBUG = DEBUG +SQL_DEBUG = False + +APP_NAME = u"#PROJECT_NAME#" +ROOT_URLCONF = '#SHORT_NAME#.urls' +STATIC_URL = '/static-#DATE#/' +SECRET_KEY = "#SECRET_KEY#" +LOGFILE = "/var/log/django/ishtar-#SHORT_NAME#.log" + +MEDIA_ROOT = "#APP_DIR#/media/" + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +DATABASES = { + 'default': { + 'ENGINE': 'django.contrib.gis.db.backends.postgis', + 'NAME': '#DB_NAME#', + 'HOST': '#DB_HOST#', + 'PORT': '#DB_PORT#', + 'USER': '#DB_NAME#', + 'PASSWORD': '#DB_PASSWORD#', + } +} + +# choose the extensions to install +EXTRA_APPS = [ + 'archaeological_files', + 'archaeological_context_records', + 'archaeological_warehouse', + 'archaeological_finds', +] + |