summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 251fb73..36c502e 100644
--- a/urls.py
+++ b/urls.py
@@ -9,8 +9,10 @@ urlpatterns = patterns('',
(r'^$', frontPage),
url(r'^caveindex$', caveindex, name="caveindex"),
+ url(r'^cave/(?P<cave_id>[^/]+)/?$', cave),
+
+ url(r'^cavehref/(.+)$', cave, name="cave"),
- (r'^cave/(?P<cave_id>[^/]+)/?$', cave),
(r'^cave/(?P<cave_id>[^/]+)/?(?P<ent_letter>[^/])$', ent),
#(r'^cave/(?P<cave_id>[^/]+)/edit/$', edit_cave),
(r'^cavesearch', caveSearch),