summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-14 22:50:47 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-14 22:50:47 +0100
commitc2c7de4c59cc02fea3524ed8bf4c33bb923624ef (patch)
tree9313cfa3ae9c46eca1c1bb920db9817051033570 /urls.py
parentd598a6d0f5174ede98aea4d5220c38ffdcae31ab (diff)
downloadtroggle-c2c7de4c59cc02fea3524ed8bf4c33bb923624ef.tar.gz
troggle-c2c7de4c59cc02fea3524ed8bf4c33bb923624ef.tar.bz2
troggle-c2c7de4c59cc02fea3524ed8bf4c33bb923624ef.zip
more cave parsing data fixes
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 1e0b080..ff67d0e 100644
--- a/urls.py
+++ b/urls.py
@@ -112,9 +112,9 @@ trogglepatterns = [
url(r'^cave/logbook/([^/]+)/?$', caves.caveLogbook),
url(r'^(?P<karea>\d\d\d\d)(?P<subpath>.*)$', cavepage, name="cavepage"), # shorthand references such as /1623/264
- url(r'^getEntrances/(?P<caveslug>.*)', caves.get_entrances, name = "get_entrances"), #works e.g. /getEntrances/1623-161
+ url(r'^getEntrances/(?P<caveslug>.*)', caves.get_entrances, name = "get_entrances"), #works e.g. /getEntrances/1623-161 # CASE SENSITIVE
url(r'^entrance/(?P<caveslug>[^/]+)/(?P<slug>[^/]+)/edit/', caves.editEntrance, name = "editentrance"),
- url(r'^entrance/new/(?P<caveslug>[^/]+)/', caves.editEntrance, name = "newentrance"),
+ url(r'^entrance/new/(?P<caveslug>[^/]+)/', caves.editEntrance, name = "newentrance"), # NOT WORKING
url(r'^statistics/?$', statistics.stats, name="stats"),