summaryrefslogtreecommitdiff
path: root/local_settings.py.pip.sample
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-10 20:47:32 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-10 20:47:32 +0200
commit32e867071cee00c6d5cfaa9a6e27cad2256cde32 (patch)
tree305fbd2d5b8b05bb0366aa1290b34586bd03277c /local_settings.py.pip.sample
parent019ee28fd9e51bed25b5a5a52640d73fb151273e (diff)
downloadChimère - projet de référence-32e867071cee00c6d5cfaa9a6e27cad2256cde32.tar.bz2
Chimère - projet de référence-32e867071cee00c6d5cfaa9a6e27cad2256cde32.zip
settings adaptation for v3
Diffstat (limited to 'local_settings.py.pip.sample')
-rw-r--r--local_settings.py.pip.sample18
1 files changed, 9 insertions, 9 deletions
diff --git a/local_settings.py.pip.sample b/local_settings.py.pip.sample
index e88acec..747427f 100644
--- a/local_settings.py.pip.sample
+++ b/local_settings.py.pip.sample
@@ -3,13 +3,12 @@
# rename this file to local_settings.py and overload settings in this file
-import os
ROOT_URLCONF = 'chimere_example_project.urls'
STATIC_URL = '/static/'
-CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL
+CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL
CHIMERE_OSM_USER = 'osm_user'
CHIMERE_OSM_PASSWORD = 'osm_pass'
@@ -33,10 +32,11 @@ DATABASES = {
},
}
-INSTALLED_APPS += ['django_extensions',
- 'tinymce']
-
-TINYMCE_URL = '%stiny_mce/' % STATIC_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')
+# 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',)