summaryrefslogtreecommitdiffstats
path: root/core/views/other.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-22 23:03:01 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-22 23:03:01 +0000
commit173ee2348fd8d6b4f799ac606b98f6d0da8f6935 (patch)
tree6a4cff0333221d7a7b1dcf604212aef030501e44 /core/views/other.py
parenta5341c4eb256d7d18bddca597c97a9fb91794ea6 (diff)
downloadtroggle-173ee2348fd8d6b4f799ac606b98f6d0da8f6935.tar.gz
troggle-173ee2348fd8d6b4f799ac606b98f6d0da8f6935.tar.bz2
troggle-173ee2348fd8d6b4f799ac606b98f6d0da8f6935.zip
password reset via encrypted token by email
Diffstat (limited to 'core/views/other.py')
-rw-r--r--core/views/other.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/views/other.py b/core/views/other.py
index f1cd6ac..f1a7bdf 100644
--- a/core/views/other.py
+++ b/core/views/other.py
@@ -121,9 +121,10 @@ def controlpanel(request):
jobs_completed = []
def process_imports():
- """databaseReset.py
+ """databaseReset.py - CHECK THIS IS ALL CORRECT& CURRENT IF YOU RE-ENABLE IT
jq.enq("reinit",reinit_db)
jq.enq("caves",import_caves)
+ jq.enq("users",import_users)
jq.enq("people",import_people)
jq.enq("scans",import_surveyscans)
jq.enq("logbooks",import_logbooks)
@@ -136,6 +137,7 @@ def controlpanel(request):
jobs_completed.append("Caves")
if request.POST.get("import_people", False):
import_people()
+
jobs_completed.append("People")
if request.POST.get("import_surveyscans", False):
import_surveyscans()
@@ -187,7 +189,7 @@ def exportlogbook(request, year=None):
There are no images stored in the database. However links to images work in the HTML text of a logbook entry.
- This function is the recipient of the POST action as the export form in the control panel
+ This function is the recipient of the POST action as the export form in the control panel (now disabled).
"""
def lbeKey(lbe):