summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/views_caves.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/views_caves.py b/core/views_caves.py
index e3df0b3..2dcef5e 100644
--- a/core/views_caves.py
+++ b/core/views_caves.py
@@ -78,6 +78,7 @@ def caveDescription(request, slug):
return render_with_context(request,'nonpublic.html', {'instance': cave})
else:
return render_with_context(request,'cave_uground_description.html', {'cave': cave})
+
def caveQMs(request, slug):
cave = Cave.objects.get(caveslug__slug = slug)
if cave.non_public and settings.PUBLIC_SITE and not request.user.is_authenticated():