diff options
Diffstat (limited to 'core/views/other.py')
-rw-r--r-- | core/views/other.py | 6 |
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): |