From 23f3c9a1909033448c2d0e7756363e2d454e799d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 11 Jul 2012 16:14:38 +0200 Subject: Update doc - minor fix on description where no area is provided --- example_project/local_settings.py.sample | 29 +++++++++++++++++++++++++++++ example_project/settings.py | 1 - 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 example_project/local_settings.py.sample (limited to 'example_project') 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' diff --git a/example_project/settings.py b/example_project/settings.py index 69a3fbf..0164673 100644 --- a/example_project/settings.py +++ b/example_project/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/' -- cgit v1.2.3