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-22 02:03:18 +0200
commit1feeb42a1f12811106764ef8203bfe1a10362fb8 (patch)
treeb275800b96119265c55cc159f3a7fe41516b7ff7 /example_project/settings.py
parentd63c56a5f8350c61117efec402b3ae67cc4c5a9b (diff)
downloadChimère-1feeb42a1f12811106764ef8203bfe1a10362fb8.tar.bz2
Chimère-1feeb42a1f12811106764ef8203bfe1a10362fb8.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 448da80..5684386 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -78,6 +78,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'),
)