Simplified the parent constructor calls in the data models and the forms.

This commit is contained in:
依瑪貓
2020-08-12 15:39:07 +08:00
parent 2ed7c52475
commit 5e8e8e815e
3 changed files with 5 additions and 5 deletions

View File

@@ -327,7 +327,7 @@ class AccountForm(forms.Form):
})
def __init__(self, *args, **kwargs):
super(AccountForm, self).__init__(*args, **kwargs)
super().__init__(*args, **kwargs)
self.account = None
@property