diff --git a/apiserver/apiserver/api/views.py b/apiserver/apiserver/api/views.py index 6fda977..3d28ab5 100644 --- a/apiserver/apiserver/api/views.py +++ b/apiserver/apiserver/api/views.py @@ -128,6 +128,7 @@ class MemberViewSet(Base, Retrieve, Update): member.paused_date = None member.save() utils.tally_membership_months(member) + utils.gen_member_forms(member) return Response(200) diff --git a/apiserver/import_old_portal.py b/apiserver/import_old_portal.py index 70c5f66..734c80d 100755 --- a/apiserver/import_old_portal.py +++ b/apiserver/import_old_portal.py @@ -142,6 +142,7 @@ for m in members: import_date = datetime.date(2020, 1, 3) tx, _ = utils.fake_missing_membership_months(m) utils.tally_membership_months(m, import_date) + utils.gen_member_forms(m) if tx: print(m.first_name, m.last_name, tx.memo)