summaryrefslogtreecommitdiff
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
commitbd2ac04b30986f5bae452c15d0d50803064df755 (patch)
treeddfa1e60a5a19c4b37d64b44bf90325c13e65f9e
parentcac51cf98ed10ccaf7a5639d6c88d8147d304df2 (diff)
downloadChimère - projet de référence-bd2ac04b30986f5bae452c15d0d50803064df755.tar.bz2
Chimère - projet de référence-bd2ac04b30986f5bae452c15d0d50803064df755.zip
Update doc - minor fix on description where no area is provided
-rw-r--r--local_settings.py.sample29
-rw-r--r--settings.py1
2 files changed, 29 insertions, 1 deletions
diff --git a/local_settings.py.sample b/local_settings.py.sample
new file mode 100644
index 0000000..9ccd41d
--- /dev/null
+++ b/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'
diff --git a/settings.py b/settings.py
index 69a3fbf..0164673 100644
--- a/settings.py
+++ b/settings.py
@@ -12,7 +12,6 @@ TEMPLATE_DEBUG = DEBUG
PROJECT_NAME = u'Chimère'
ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/"
-SERVER_URL = 'http://www.mydomain.com/'
EMAIL_HOST = 'localhost'
STATIC_URL = '/static/'
STATIC_ROOT = ROOT_PATH + 'static/'