diff --git a/core/views/cave_kataster.py b/core/views/cave_kataster.py index 48aad7d..a682870 100644 --- a/core/views/cave_kataster.py +++ b/core/views/cave_kataster.py @@ -69,6 +69,8 @@ def kataster(request, slug): try: # this is a python generator idiom. # see https://realpython.com/introduction-to-python-generators/ + + # THIS IS VERY SILLY. We have this in the databse fom when this file was parsed. Don't read it again ! with open(settings.CAVEDESCRIPTIONS / cavefilename, 'r') as f: for line in f: if match := re.search(r'(.*?)', line): diff --git a/templates/cave_kataster.html b/templates/cave_kataster.html index 9da4ce0..eaee28c 100644 --- a/templates/cave_kataster.html +++ b/templates/cave_kataster.html @@ -44,6 +44,7 @@ This cave needs to be "katastered". If you have the new number issued by the Aus