Simplified the parent constructor calls in the data models and the forms.
This commit is contained in:
@ -50,7 +50,7 @@ class UserForm(forms.Form):
|
||||
is_disabled = forms.BooleanField(required=False)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(UserForm, self).__init__(*args, **kwargs)
|
||||
super().__init__(*args, **kwargs)
|
||||
self.user = None
|
||||
self.current_user = None
|
||||
|
||||
|
Reference in New Issue
Block a user