summaryrefslogtreecommitdiff
path: root/local_settings.py.pip.sample
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-04 19:45:47 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-04 19:45:47 +0200
commit60b4197a9b7bba4d257066a011a5f1c5cb7ab6d1 (patch)
tree009a42a0a623dd511606875921576d09c4f2c2eb /local_settings.py.pip.sample
parent91aa7aa352230dcacec966b5250286d927ed9163 (diff)
downloadChimère-60b4197a9b7bba4d257066a011a5f1c5cb7ab6d1.tar.bz2
Chimère-60b4197a9b7bba4d257066a011a5f1c5cb7ab6d1.zip
Reorganize django files to have a more common conf
Diffstat (limited to 'local_settings.py.pip.sample')
-rw-r--r--local_settings.py.pip.sample42
1 files changed, 42 insertions, 0 deletions
diff --git a/local_settings.py.pip.sample b/local_settings.py.pip.sample
new file mode 100644
index 0000000..747427f
--- /dev/null
+++ b/local_settings.py.pip.sample
@@ -0,0 +1,42 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# rename this file to local_settings.py and overload settings in this file
+
+
+ROOT_URLCONF = 'chimere_example_project.urls'
+
+STATIC_URL = '/static/'
+
+CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL
+CHIMERE_OSM_USER = 'osm_user'
+CHIMERE_OSM_PASSWORD = 'osm_pass'
+
+# Make this string unique, and don't share it with anybody.
+SECRET_KEY = ''
+
+ADMINS = (
+ # ('Your Name', 'your_email@domain.com'),
+)
+
+MANAGERS = ADMINS
+
+DATABASES = {
+ 'default': {
+ 'NAME': 'chimere',
+ 'ENGINE': 'django.contrib.gis.db.backends.postgis',
+ 'HOST': 'localhost',
+ 'PORT': '5432',
+ 'USER': 'postgres',
+ 'PASSWORD': '',
+ },
+}
+
+# if you want to use tinymce provide an URL or a relative path to find it
+TINYMCE_URL = ''
+JQUERY_JS_URLS = (
+ '%sjquery/jquery.js' % STATIC_URL,
+ 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js')
+JQUERY_CSS_URLS = (
+ 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/'
+ 'base/jquery-ui.css',)