Renamed the form property to form_class in the Mia core application.

This commit is contained in:
imacat committed 2020-08-16 09:50:05 +08:00
1 parent de924efda0
commit a2a47cdea2
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -985,7 +985,7 @@ class AccountView(DetailView):
class AccountFormView(FormView):
"""The form to create or update an account."""
model = Account
form = AccountForm
form_class = AccountForm
not_modified_message = gettext_noop("This account was not modified.")
success_message = gettext_noop("This account was saved successfully.")