From 8bd2adb11c8c5ee5852e9deacdb724a4369a42e5 Mon Sep 17 00:00:00 2001 From: Cefin Date: Fri, 10 Dec 2021 14:45:14 +0000 Subject: draft and temporary testing for #5231 --- archaeological_finds/forms.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archaeological_finds/forms.py') diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index fc1816d32..9f8aeb497 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -1161,6 +1161,12 @@ class QAFindBasketModify(QAForm): return self._get_ishtar_user_list(value) +class QAFindTreatmentN1Form(FormSet): + form_label = _("Treatment Many to One") + + def __init__(self, *args, **kwargs): + return HttpResponseRedirect(reverse("treatment_creation_n1", args=self.pk)) + class PreservationForm(CustomForm, ManageOldType): form_label = _("Preservation") form_admin_name = _("Find - 030 - Preservation") -- cgit v1.2.3