summaryrefslogtreecommitdiffstats
path: root/core/views_other.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-07-20 22:53:26 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-07-20 22:53:26 +0100
commitf131509c565edef455a5a9d89f176081d56038cc (patch)
treeafb973555d80ff504b6bed2c0f0317e551641f18 /core/views_other.py
parent8e77a70ad608ca029785e4786cbaa6a776ae1dfe (diff)
downloadtroggle-f131509c565edef455a5a9d89f176081d56038cc.tar.gz
troggle-f131509c565edef455a5a9d89f176081d56038cc.tar.bz2
troggle-f131509c565edef455a5a9d89f176081d56038cc.zip
3dtopos to survexpos + comments
Diffstat (limited to 'core/views_other.py')
-rw-r--r--core/views_other.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/core/views_other.py b/core/views_other.py
index 8cb026a..10c1ec7 100644
--- a/core/views_other.py
+++ b/core/views_other.py
@@ -16,6 +16,13 @@ from troggle.core.forms import UploadFileForm
print("** importing troggle/core/views_other.py")
+"""Utility functions and code to serve the control panel and individual user's
+progress and task list (deprecated as we do not have individual user login).
+
+Also has code to download a logbook in a choice of formats (why?!) and to
+download all QMs (not working)
+"""
+
def showrequest(request):
return HttpResponse(request.GET)
@@ -29,8 +36,6 @@ def frontpage(request):
#from django.contrib.admin.templatetags import log
return render(request,'frontpage.html', locals())
-print(" - controlPanel() is next in troggle/core/views_other.py")
-
def controlPanel(request):
jobs_completed=[]
@@ -54,8 +59,6 @@ def controlPanel(request):
return render(request,'controlPanel.html', {'caves':Cave.objects.all(),'expeditions':Expedition.objects.all(),'jobs_completed':jobs_completed})
-print(" - downloadLogbook() is next in troggle/core/views_other.py")
-
def downloadLogbook(request,year=None,extension=None,queryset=None):
@@ -89,8 +92,6 @@ def downloadLogbook(request,year=None,extension=None,queryset=None):
response.write(t.render(c))
return response
-print(" - downloadQMs() is next in troggle/core/views_other.py")
-
def downloadQMs(request):
# Note to self: use get_cave method for the below
@@ -126,8 +127,6 @@ def ajax_QM_number(request):
return HttpResponse(res)
-print(" - logbook_entry_suggestions() is next in troggle/core/views_other.py")
-
def logbook_entry_suggestions(request):
"""