diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-11-15 10:52:02 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:55 +0100 |
commit | 7a3da08eabf4767284b370e670e1953abb49973a (patch) | |
tree | bfa978b6b80b32bc2f6e4af1ea4dabbdfb8b9ebd /ishtar_common/forms_common.py | |
parent | 3556c98cd2fc9b064fa026733ee80fdd8fcbc993 (diff) | |
download | Ishtar-7a3da08eabf4767284b370e670e1953abb49973a.tar.bz2 Ishtar-7a3da08eabf4767284b370e670e1953abb49973a.zip |
🐛 fix permissions menu evaluation - fix forms
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r-- | ishtar_common/forms_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index cb7eb761a..1a04a38e9 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -1264,7 +1264,7 @@ class IshtarUserSelect(TableSelect): self.fields["person_types"].choices = models.PersonType.get_types() -class AccountFormSelection(forms.Form): +class AccountFormSelection(CustomForm, forms.Form): SEARCH_AND_SELECT = True form_label = _("Account search") associated_models = {"pk": models.IshtarUser} @@ -2915,7 +2915,7 @@ class AuthorForm(ManageOldType, NewItemForm): return new_item -class AuthorFormSelection(forms.Form): +class AuthorFormSelection(CustomForm, forms.Form): form_label = _("Author selection") NO_CUSTOM_FORM = True base_model = "author" |