summaryrefslogtreecommitdiff
path: root/example_project/local_settings.py.pip.sample
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-14 16:55:22 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-14 16:55:22 +0200
commitea65e5512c236b81e7f4b8757521facadae4b3b8 (patch)
tree739cdf40fb6a89de90c4189936d695288a82849f /example_project/local_settings.py.pip.sample
parent4b0f0777c434f5fa1366ca408c34d257d4833fad (diff)
parenta55f77a246f99764ff6289686f80825526654e2b (diff)
downloadChimère-ea65e5512c236b81e7f4b8757521facadae4b3b8.tar.bz2
Chimère-ea65e5512c236b81e7f4b8757521facadae4b3b8.zip
Merge branch 'master' into saclay
Conflicts: chimere/admin.py chimere/fixtures/initial_data.json chimere/forms.py chimere/locale/fr/LC_MESSAGES/django.po chimere/models.py chimere/static/chimere/css/styles.css chimere/templates/chimere/detail.html chimere/templatetags/chimere_tags.py chimere/views.py chimere/widgets.py
Diffstat (limited to 'example_project/local_settings.py.pip.sample')
-rw-r--r--example_project/local_settings.py.pip.sample42
1 files changed, 42 insertions, 0 deletions
diff --git a/example_project/local_settings.py.pip.sample b/example_project/local_settings.py.pip.sample
new file mode 100644
index 0000000..6b6cffc
--- /dev/null
+++ b/example_project/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
+
+import os
+
+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': '',
+ },
+}
+
+ROOT_URLCONF = 'example_project.urls'
+
+INSTALLED_APPS += ['django_extensions',
+ 'tinymce']
+
+TINYMCE_URL = '%stiny_mce/' % STATIC_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')