diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-21 18:12:27 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-21 18:12:27 +0100 |
commit | 8a5a127af79fd2f6ebd1ea1f106c06e675d66f8b (patch) | |
tree | 3faed4493575229e097764fa20fb26b227f78b3e /archaeological_finds/forms.py | |
parent | 30e374e52f7bdf336d1f9076e4e343d596aa9ebc (diff) | |
download | Ishtar-8a5a127af79fd2f6ebd1ea1f106c06e675d66f8b.tar.bz2 Ishtar-8a5a127af79fd2f6ebd1ea1f106c06e675d66f8b.zip |
⚡️ custom form: better filter for JSON fields - 🐛 fix administrative act custom forms (refs #6238, refs #6239)
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index 04e85a2b0..2796bb844 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -210,7 +210,7 @@ class BasicFindForm(CustomForm, ManageOldType): file_upload = True form_label = _("Find") form_admin_name = _("Simple find - 020 - General") - form_slug = "simplefind-020-general" + form_slug = "find-020-simplegeneral" base_models = [ "object_type", "material_type", @@ -737,7 +737,7 @@ class ResultingFindForm(CustomForm, ManageOldType): file_upload = True form_label = _("Resulting find") form_admin_name = _("Treatment n-1 - 030 - Resulting find") - form_slug = "treatmentn1-030-resulting-find" + form_slug = "treatment-030-n1-resulting-find" associated_models = { "resulting_material_type": models.MaterialType, @@ -845,7 +845,7 @@ class ResultingFindForm(CustomForm, ManageOldType): class ResultingFindsForm(CustomForm, ManageOldType): form_label = _("Resulting finds") form_admin_name = _("Treatment 1-n - 030 - Resulting finds") - form_slug = "treatment1n-030-resulting-finds" + form_slug = "treatment-030-1n-resulting-finds" associated_models = {} resultings_number = forms.IntegerField( |