django2.2: forms fixs for new API

This commit is contained in:
klmp200 committed 2019-10-08 22:46:38 +02:00
1 parent d7075eb762
commit 81fcf411c1
2 files changed
+3 -16

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ class MailingForm(forms.Form):
super(MailingForm, self).__init__(*args, **kwargs)
self.fields["action"] = forms.TypedChoiceField(
(
choices=(
(self.ACTION_NEW_MAILING, _("New Mailing")),
(self.ACTION_NEW_SUBSCRIPTION, _("Subscribe")),
(self.ACTION_REMOVE_SUBSCRIPTION, _("Remove")),