From b2b0d69721b9f0b646aa0155112cdc1164028a2f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 25 Oct 2013 16:22:11 +0200 Subject: Add options to settings.sample.py --- chimere/settings.sample.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'chimere') diff --git a/chimere/settings.sample.py b/chimere/settings.sample.py index cc1feb3..2203c17 100644 --- a/chimere/settings.sample.py +++ b/chimere/settings.sample.py @@ -3,7 +3,7 @@ # This file is an example of settings.py for a Chimère project -import os +import os, sys _ = lambda s: s DEBUG = False @@ -19,6 +19,8 @@ CONTACT_EMAIL = '' STATIC_URL = '/static/' STATIC_ROOT = ROOT_PATH + 'static/' +STATICFILES_DIRS = (ROOT_PATH + 'project_static',) + TINYMCE_URL = '/tinymce/' JQUERY_JS_URLS = ('/javascript/jquery/jquery.js', '/javascript/jquery-ui/jquery-ui.js',) @@ -112,6 +114,9 @@ CHIMERE_THUMBS_SCALE_WIDTH=None CHIMERE_CSV_ENCODING = 'ISO-8859-1' +# generic contact email +CONTACT_EMAIL = '' + ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) @@ -129,6 +134,9 @@ DATABASES = { }, } +if 'test' in sys.argv: + SOUTH_TESTS_MIGRATE = False + # Local time zone for this installation. Choices can be found here: # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE # although not all variations may be possible on all operating systems. -- cgit v1.2.3