summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-08-15 01:38:28 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-08-15 01:38:28 +0200
commit12d8f2d9b97051056077e344499c765e1f95bda7 (patch)
tree7576b14bba62bccb3ab9b243c9cba48464d8e529 /example_project/settings.py
parent9d22e093dac0d30d6de797222952c1e5f938382c (diff)
downloadChimère-12d8f2d9b97051056077e344499c765e1f95bda7.tar.bz2
Chimère-12d8f2d9b97051056077e344499c765e1f95bda7.zip
First working version of routing.
* add an utilitary Routing class to manage different routing system * implement the routing with routino * add a view to manage routes * itinerary panel template * JS management of routing: * manage flag markers on the map * request the route when start and finish flag are set * display the route and the itinerary description * add of two flags images * itinerary panel CSS * french translation update
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 9b25605..ead2c93 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -77,6 +77,13 @@ CHIMERE_SHAPEFILE_ENCODING = 'ISO-8859-1'
# enable routing in Chimère
CHIMERE_ENABLE_ROUTING = False
+# available routing engine: 'routino'
+CHIMERE_ROUTING_ENGINE = {
+ 'ENGINE': 'routino',
+ 'PATH': '/usr/local/src/web/bin/router',
+ 'DB_PATH': '/var/local/routino/',
+}
+
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)