diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-25 16:22:11 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-25 16:22:11 +0200 |
| commit | b2b0d69721b9f0b646aa0155112cdc1164028a2f (patch) | |
| tree | f9b3f2371d8e27f27717f8f10b134fab059d2808 | |
| parent | fbfa77b0da6f2ca6f03318ff4ec5fa6ecc05bd80 (diff) | |
| download | Chimère-b2b0d69721b9f0b646aa0155112cdc1164028a2f.tar.bz2 Chimère-b2b0d69721b9f0b646aa0155112cdc1164028a2f.zip | |
Add options to settings.sample.py
| -rw-r--r-- | chimere/settings.sample.py | 10 |
1 files changed, 9 insertions, 1 deletions
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. |
