summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-11-07 23:23:15 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2023-11-07 23:23:15 +0200
commit1e8a5bea6e50986218ecd550ce4978a967900970 (patch)
treef6cf789702ad44c368f6167364ba55c247ca776b /urls.py
parent1ba37665b5ff17c92e2fc7d3587c166ffd79af96 (diff)
downloadtroggle-1e8a5bea6e50986218ecd550ce4978a967900970.tar.gz
troggle-1e8a5bea6e50986218ecd550ce4978a967900970.tar.bz2
troggle-1e8a5bea6e50986218ecd550ce4978a967900970.zip
ent.url removed and entrance edit path simplified
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index db3a8a8..51322f4 100644
--- a/urls.py
+++ b/urls.py
@@ -156,7 +156,7 @@ trogglepatterns = [
# Edit caves and entrances
re_path(r'^(?P<path>.*)/(?P<slug>[^/]+)_cave_edit/$', edit_cave, name="edit_cave"), # edit_cave needed by cave.html template for url matching
- re_path(r'^(?P<path>.*)/(?P<caveslug>[^/]+):(?P<entslug>[^:]+)_entrance_edit', edit_entrance, name = "editentrance"), #edit existing entrance
+ re_path(r'^(?P<caveslug>[^/]+):(?P<entslug>[^:]+)_entrance_edit', edit_entrance, name = "editentrance"), #edit existing entrance
re_path(r'^(?P<path>.*)/(?P<caveslug>[^/]+)_entrance_new$', edit_entrance, name = "newentrance"), # new entrance for a cave
re_path(r'^(.*)_edit$', editexpopage, name="editexpopage"),