From 28e66c7bae52302687dd73f86762f45529d71394 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 21 Oct 2012 15:08:19 +0200 Subject: Add a local_settings sample --- example_project/local_settings.py.sample | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 example_project/local_settings.py.sample (limited to 'example_project/local_settings.py.sample') diff --git a/example_project/local_settings.py.sample b/example_project/local_settings.py.sample new file mode 100644 index 000000000..082d23ba2 --- /dev/null +++ b/example_project/local_settings.py.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 + +# 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': 'ishtar', + 'ENGINE': 'django.contrib.gis.db.backends.postgis', + 'HOST': 'localhost', + 'PORT': '5432', + 'USER': 'ishtar-user', + 'PASSWORD': 'mypasswd', + }, +} + +ROOT_URLCONF = 'example_project.urls' +MEDIA_URL = 'http://mydomain/static/' + +# Ishtar custom +SRID = 27572 +ENCODING = '' # specific encoding for CSV export - default to utf-8 +SURFACE_UNIT = 'square-metre' +SURFACE_UNIT_LABEL = u'm²' + +# choose the extensions to install +# you can remove lines according to the comments but don't change the order +EXTRA_APPS = [ + 'archaeological_files', + 'archaeological_context_records', + 'archaeological_warehouse', # need archaeological_finds + 'archaeological_finds', # need archaeological_context_records +] -- cgit v1.2.3