diff options
Diffstat (limited to 'core/views_other.py')
-rw-r--r-- | core/views_other.py | 15 |
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): """ |