diff --git a/README.md b/README.md index 154362b..0ec2f59 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ the other option is to export the entire system to json or zip file. **importing both are a little janky as they've just been implemented rather quickly to cover the base requirement of being able to migrate the database in some form. **don't rely on them, be sure to keep your own backups**. +**individual member import via zip folder is not currently possible** + # dev set up (windows) - after cloning, run `py -3 -m venv .venv` in the root directory and then `.venv\Scripts\activate` diff --git a/myriad/manage.py b/myriad/manage.py index d381123..2a54f9f 100644 --- a/myriad/manage.py +++ b/myriad/manage.py @@ -29,7 +29,6 @@ def new(): def import_member_route(): db = get_db() response="" - data=None mid=None if request.method=="POST": @@ -367,7 +366,7 @@ def admin(): else: zipf.extract(f) - return "upload zip" + return "go home" users = db.execute("SELECT * FROM user").fetchall() diff --git a/myriad/templates/manage/admin.html b/myriad/templates/manage/admin.html index c3e1418..6774b15 100644 --- a/myriad/templates/manage/admin.html +++ b/myriad/templates/manage/admin.html @@ -7,8 +7,8 @@ {% block content %}
Backup
- Export entire system TEXT ONLY
- Export entire system WITH ATTACHMENTS + Export entire system as JSON (without images)
+ Export entire system as ZIP (with images)