summaryrefslogtreecommitdiffstats
path: root/core/views/caves.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-27 14:50:26 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-27 14:50:26 +0100
commit81d58f1275b3cf3f138f3297052af8fff3877762 (patch)
tree72cffe3f8c011aadd91955ef8a8ca7dcbc07d764 /core/views/caves.py
parente236e792ec7c38248a496e8443c4e549c383c93a (diff)
downloadtroggle-81d58f1275b3cf3f138f3297052af8fff3877762.tar.gz
troggle-81d58f1275b3cf3f138f3297052af8fff3877762.tar.bz2
troggle-81d58f1275b3cf3f138f3297052af8fff3877762.zip
delete: never implemented properly
Diffstat (limited to 'core/views/caves.py')
-rw-r--r--core/views/caves.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index 9d77d33..2751ac2 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -302,13 +302,6 @@ def caveQMs(request, slug):
else:
return render(request,'cave_qms.html', {'cave': cave})
-def caveLogbook(request, slug):
- cave = Cave.objects.get(caveslug__slug = slug)
- if cave.non_public and settings.PUBLIC_SITE and not request.user.is_authenticated:
- return render(request,'nonpublic.html', {'instance': cave})
- else:
- return render(request,'cave_logbook.html', {'cave': cave})
-
@login_required_if_public
def edit_cave(request, slug=None):
'''This is the form that edits all the cave data and writes out an XML file in the :expoweb: repo folder