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

This commit is contained in:
2020-08-16 09:50:05 +08:00
parent de924efda0
commit a2a47cdea2
2 changed files with 6 additions and 6 deletions

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.")