diff options
-rw-r--r-- | chimere_example_project/project_static/.project_static | 0 | ||||
-rw-r--r-- | chimere_example_project/static/chimere/css/form-compat.css (renamed from chimere_example_project/chimere_example_static/chimere/css/form-compat.css) | 0 | ||||
-rw-r--r-- | chimere_example_project/static/chimere/img/layer-switcher-maximize.png (renamed from chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png) | bin | 1433 -> 1433 bytes | |||
-rw-r--r-- | chimere_example_project/static/chimere/img/logo.jpg (renamed from chimere_example_project/chimere_example_static/chimere/img/logo.jpg) | bin | 25981 -> 25981 bytes | |||
-rwxr-xr-x | chimere_example_project/static/chimere/img/minus.png (renamed from chimere_example_project/chimere_example_static/chimere/img/minus.png) | bin | 236 -> 236 bytes | |||
-rwxr-xr-x | chimere_example_project/static/chimere/img/plus.png (renamed from chimere_example_project/chimere_example_static/chimere/img/plus.png) | bin | 528 -> 528 bytes | |||
-rw-r--r-- | chimere_example_project/static/chimere/js/interface.js (renamed from chimere_example_project/chimere_example_static/chimere/js/interface.js) | 0 | ||||
-rw-r--r-- | chimere_example_project/static/fonts/glyphicons-halflings-regular.eot (renamed from chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot) | bin | 20335 -> 20335 bytes | |||
-rw-r--r-- | chimere_example_project/static/fonts/glyphicons-halflings-regular.svg (renamed from chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg) | 0 | ||||
-rw-r--r-- | chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf (renamed from chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf) | bin | 41280 -> 41280 bytes | |||
-rw-r--r-- | chimere_example_project/static/fonts/glyphicons-halflings-regular.woff (renamed from chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff) | bin | 23320 -> 23320 bytes | |||
-rw-r--r-- | local_settings.py.sample | 3 | ||||
-rw-r--r-- | settings.py | 13 |
13 files changed, 7 insertions, 9 deletions
diff --git a/chimere_example_project/project_static/.project_static b/chimere_example_project/project_static/.project_static deleted file mode 100644 index e69de29..0000000 --- a/chimere_example_project/project_static/.project_static +++ /dev/null diff --git a/chimere_example_project/chimere_example_static/chimere/css/form-compat.css b/chimere_example_project/static/chimere/css/form-compat.css index f83672f..f83672f 100644 --- a/chimere_example_project/chimere_example_static/chimere/css/form-compat.css +++ b/chimere_example_project/static/chimere/css/form-compat.css diff --git a/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png b/chimere_example_project/static/chimere/img/layer-switcher-maximize.png Binary files differindex 326f243..326f243 100644 --- a/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png +++ b/chimere_example_project/static/chimere/img/layer-switcher-maximize.png diff --git a/chimere_example_project/chimere_example_static/chimere/img/logo.jpg b/chimere_example_project/static/chimere/img/logo.jpg Binary files differindex cc2ff36..cc2ff36 100644 --- a/chimere_example_project/chimere_example_static/chimere/img/logo.jpg +++ b/chimere_example_project/static/chimere/img/logo.jpg diff --git a/chimere_example_project/chimere_example_static/chimere/img/minus.png b/chimere_example_project/static/chimere/img/minus.png Binary files differindex e8ebf51..e8ebf51 100755 --- a/chimere_example_project/chimere_example_static/chimere/img/minus.png +++ b/chimere_example_project/static/chimere/img/minus.png diff --git a/chimere_example_project/chimere_example_static/chimere/img/plus.png b/chimere_example_project/static/chimere/img/plus.png Binary files differindex b26a6f9..b26a6f9 100755 --- a/chimere_example_project/chimere_example_static/chimere/img/plus.png +++ b/chimere_example_project/static/chimere/img/plus.png diff --git a/chimere_example_project/chimere_example_static/chimere/js/interface.js b/chimere_example_project/static/chimere/js/interface.js index c0c00bf..c0c00bf 100644 --- a/chimere_example_project/chimere_example_static/chimere/js/interface.js +++ b/chimere_example_project/static/chimere/js/interface.js diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot b/chimere_example_project/static/fonts/glyphicons-halflings-regular.eot Binary files differindex 4a4ca86..4a4ca86 100644 --- a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.eot +++ b/chimere_example_project/static/fonts/glyphicons-halflings-regular.eot diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg b/chimere_example_project/static/fonts/glyphicons-halflings-regular.svg index 89d2909..89d2909 100644 --- a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.svg +++ b/chimere_example_project/static/fonts/glyphicons-halflings-regular.svg diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf b/chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf Binary files differindex 67fa00b..67fa00b 100644 --- a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.ttf +++ b/chimere_example_project/static/fonts/glyphicons-halflings-regular.ttf diff --git a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff b/chimere_example_project/static/fonts/glyphicons-halflings-regular.woff Binary files differindex 8c54182..8c54182 100644 --- a/chimere_example_project/chimere_example_static/fonts/glyphicons-halflings-regular.woff +++ b/chimere_example_project/static/fonts/glyphicons-halflings-regular.woff diff --git a/local_settings.py.sample b/local_settings.py.sample index 33a4989..385a774 100644 --- a/local_settings.py.sample +++ b/local_settings.py.sample @@ -3,9 +3,6 @@ # 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 diff --git a/settings.py b/settings.py index 7e7d85c..a65a1b1 100644 --- a/settings.py +++ b/settings.py @@ -23,10 +23,6 @@ CONTACT_EMAIL = '' STATIC_URL = '/static/' STATIC_ROOT = ROOT_PATH + 'static/' -STATICFILES_DIRS = ( - os.path.join(ROOT_PATH, "chimere_example_project/chimere_example_static"), -) - TINYMCE_URL = '' JQUERY_JS_URLS = ('/javascript/jquery/jquery.js', '/javascript/jquery-ui/jquery-ui.js',) @@ -231,8 +227,6 @@ MIDDLEWARE_CLASSES = [ 'django.contrib.messages.middleware.MessageMiddleware' ] -ROOT_URLCONF = 'chimere_example_project.urls' - TEMPLATE_DIRS = [ ROOT_PATH + 'templates', ] @@ -275,12 +269,19 @@ INSTALLED_APPS += [ LOG_PATH = '/var/log/django/' MOBILE_DOMAINS = [] # if you have specific domains for mobile access +PROJECT_APP = 'chimere_example_project' + LOGFILE_NAME = "" try: from local_settings import * except ImportError as e: print('Unable to load local_settings.py:', e) + +ROOT_URLCONF = PROJECT_APP + '.urls' + +INSTALLED_APPS.insert(INSTALLED_APPS.index('chimere'), PROJECT_APP) + if CHIMERE_SEARCH_ENGINE: INSTALLED_APPS.append('haystack') |