2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 09:07:06 +00:00

ent.url removed and entrance edit path simplified

This commit is contained in:
2023-11-07 23:23:15 +02:00
parent 1ba37665b5
commit 1e8a5bea6e
6 changed files with 13 additions and 13 deletions

View File

@@ -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"),