diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-01 17:57:20 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-01 17:57:20 +0100 |
commit | 365f8b65cfe6581660918f1cbb248b25657961f3 (patch) | |
tree | 2c40f20d098c21340af19d4d79d4dca7cd653e51 | |
parent | 7c4e532a440af62bdc31cb114e1be18a6b96e5af (diff) | |
download | Chimère - projet de référence-365f8b65cfe6581660918f1cbb248b25657961f3.tar.bz2 Chimère - projet de référence-365f8b65cfe6581660918f1cbb248b25657961f3.zip |
Adapt example_project to avoid unicode characters.
Temporary fix to prevent a Django bug.
cf. https://code.djangoproject.com/ticket/18091
-rw-r--r-- | settings.py | 12 | ||||
-rw-r--r-- | urls.py | 2 |
2 files changed, 4 insertions, 10 deletions
diff --git a/settings.py b/settings.py index c48a847..b0839d6 100644 --- a/settings.py +++ b/settings.py @@ -10,7 +10,7 @@ DEBUG = False TEMPLATE_DEBUG = DEBUG # Django settings for chimere project. -PROJECT_NAME = u'Chimère' +PROJECT_NAME = 'Chimere' ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/" EMAIL_HOST = 'localhost' @@ -26,8 +26,7 @@ JQUERY_CSS_URLS = ('/javascript/jquery-ui/css/smoothness/jquery-ui.css', OSM_CSS_URLS = ["http://www.openlayers.org/api/theme/default/style.css"] GPSBABEL = '/usr/bin/gpsbabel' -GPSBABEL_OPTIONS = 'simplify,crosstrack,error=0.005k' # simplify with an - # error of 5 meters +GPSBABEL_OPTIONS = 'simplify,crosstrack,error=0.005k' # simplify with an error of 5 meters #GPSBABEL_OPTIONS = 'simplify,count=100' ## chimere specific ## @@ -169,10 +168,6 @@ INSTALLED_APPS = [ 'django.contrib.sites', 'django.contrib.gis', 'django.contrib.staticfiles', - 'south', - 'chimere', - # activate it if you want to use old migration scripts - #'chimere.scripts', ] # celery @@ -190,8 +185,7 @@ except ImportError: INSTALLED_APPS += [ 'south', 'chimere', - # activate it if you want to use old migration scripts - #'chimere.scripts', +# 'chimere.scripts', # activate it if you want to use old migration scripts ] LOGGING = {'version': 1, @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2012-2013 Etienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as |