tiny tidyings

This commit is contained in:
Philip Sargent
2021-04-05 14:01:15 +01:00
parent 53fef14024
commit 409037bdf3
9 changed files with 105 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ from troggle.core.models_caves import LogbookEntry, QM, Cave, PersonTrip
from .login import login_required_if_public
from troggle.core.forms import UploadFileForm
print("** importing troggle/core/views.other.py")
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).
@@ -140,7 +140,7 @@ def ajax_QM_number(request):
return HttpResponse(res)
print(" - newFile() is next in troggle/core/views.other.py")
#print(" - newFile() is next in troggle/core/views/other.py")
@login_required_if_public
def newFile(request, pslug = None):
@@ -194,4 +194,4 @@ def delFile(f):
lbe.delete()
os.remove(lbe.filename)
print("** Finished importing troggle/core/views.other.py")
print("** Finished importing troggle/core/views/other.py")