mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-16 07:29:20 +00:00
django2.2: forms fixs for new API
This commit is contained in:
2 files changed
+3
-16
No files matched your search
+1
-1
@@ -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")),
|
||||
|
||||
Reference in new issue
Block a user