summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index 26eacbb..74e6737 100644
--- a/urls.py
+++ b/urls.py
@@ -120,8 +120,8 @@ trogglepatterns = [
url(r'^(?P<karea>162\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand /1623/264 BUT url links may break
# Entrances
- url(r'^entrance/(?P<caveslug>[^/]+)/(?P<slug>[^/]+)/edit/', caves.editEntrance, name = "editentrance"),
- url(r'^entrance/new/(?P<caveslug>[^/]+)/', caves.editEntrance, name = "newentrance"), # NOT WORKING
+ url(r'^entrance/new/$', caves.edit_entrance, name = "newentrance"),
+ url(r'^entrance/(?P<caveslug>[^/]+)/(?P<slug>[^/]+)/edit/', caves.edit_entrance, name = "editentrance"),
url(r'^statistics/?$', statistics.stats, name="stats"),