diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-07-08 22:28:09 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-07-08 22:28:09 +0100 |
commit | a8c9f8b899b20a02db76af0151c043321e9e8d5d (patch) | |
tree | b57967f8de725e6850d1ef6e44331c4dd152065b | |
parent | a68ef2728409860ad4325660213e2beca94e8a78 (diff) | |
download | troggle-a8c9f8b899b20a02db76af0151c043321e9e8d5d.tar.gz troggle-a8c9f8b899b20a02db76af0151c043321e9e8d5d.tar.bz2 troggle-a8c9f8b899b20a02db76af0151c043321e9e8d5d.zip |
bug fix from unfinished work, aborted
-rw-r--r-- | core/views/caves.py | 1 | ||||
-rw-r--r-- | parsers/caves.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/views/caves.py b/core/views/caves.py index 24f61f7..3bdc6f4 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -411,6 +411,7 @@ def edit_cave(request, path="", slug=None): print(f"edit_cave(): {path=} {slug=}") message = "" if slug is not None: + print(f"{slug=}") try: cave = Cave.objects.get(caveslug__slug=slug) except: diff --git a/parsers/caves.py b/parsers/caves.py index 4d35a51..c1f8094 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -723,7 +723,7 @@ def read_cave(filename, mvf=None, cave=None): Pending destruction of this whole concept and Class CaveSlug What is Class CaveSlug for? """ - return + #return primary = True # this sets the first thing we find to be primary=True and all the others =False for slug in slugs: if slug in caves_xslug: |