From 60b4197a9b7bba4d257066a011a5f1c5cb7ab6d1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 4 Oct 2016 19:45:47 +0200 Subject: Reorganize django files to have a more common conf --- local_settings.py.pip.sample | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 local_settings.py.pip.sample (limited to 'local_settings.py.pip.sample') diff --git a/local_settings.py.pip.sample b/local_settings.py.pip.sample new file mode 100644 index 0000000..747427f --- /dev/null +++ b/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 + + +ROOT_URLCONF = 'chimere_example_project.urls' + +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': '', + }, +} + +# if you want to use tinymce provide an URL or a relative path to find it +TINYMCE_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',) -- cgit v1.2.3