summaryrefslogtreecommitdiff
path: root/example_project/local_settings.py.sample
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-07-11 16:14:38 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-07-11 16:14:38 +0200
commit23f3c9a1909033448c2d0e7756363e2d454e799d (patch)
treede738a06f0b94e337f51118ce1b28c13a261e8bd /example_project/local_settings.py.sample
parentaab7af8332bc96e6f8c68d669b3ec2b1a6d502e0 (diff)
downloadChimère-23f3c9a1909033448c2d0e7756363e2d454e799d.tar.bz2
Chimère-23f3c9a1909033448c2d0e7756363e2d454e799d.zip
Update doc - minor fix on description where no area is provided
Diffstat (limited to 'example_project/local_settings.py.sample')
-rw-r--r--example_project/local_settings.py.sample29
1 files changed, 29 insertions, 0 deletions
diff --git a/example_project/local_settings.py.sample b/example_project/local_settings.py.sample
new file mode 100644
index 0000000..9ccd41d
--- /dev/null
+++ b/example_project/local_settings.py.sample
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# rename this file to local_settings.py and overload settings in this file
+
+import os
+
+CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL
+CHIMERE_OSM_USER = 'osm_user'
+CHIMERE_OSM_PASSWORD = 'osm_pass'
+
+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': '',
+ },
+}
+
+ROOT_URLCONF = 'example_project.urls'