summaryrefslogtreecommitdiffstats
path: root/parsers/imports.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-20 02:07:26 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-20 02:07:26 +0000
commit4d49eefccbac393ca21b81bc35f7a632b4af1178 (patch)
treee372c3edc1df51449f6222ae0065be72bbe9e145 /parsers/imports.py
parent79cf342d3391d4bbd127678faaeed5471f6954be (diff)
downloadtroggle-4d49eefccbac393ca21b81bc35f7a632b4af1178.tar.gz
troggle-4d49eefccbac393ca21b81bc35f7a632b4af1178.tar.bz2
troggle-4d49eefccbac393ca21b81bc35f7a632b4af1178.zip
encryption round-trip works
Diffstat (limited to 'parsers/imports.py')
-rw-r--r--parsers/imports.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/parsers/imports.py b/parsers/imports.py
index 743ab12..07b6755 100644
--- a/parsers/imports.py
+++ b/parsers/imports.py
@@ -26,6 +26,12 @@ def import_people():
with transaction.atomic():
troggle.parsers.people.load_people_expos()
+def import_users():
+ print("-- Importing troggle Users (users.json) to ", end="")
+ print(django.db.connections.databases["default"]["NAME"])
+ with transaction.atomic():
+ troggle.parsers.people.load_users()
+
def import_surveyscans():
print("-- Importing Survey Scans and Wallets")
with transaction.atomic():