Flake8 complient
This commit is contained in:
parent
fbe2e7f59a
commit
2313ebcdb4
6 changed files with 26 additions and 13 deletions
|
|
@ -10,6 +10,7 @@ class CustomUserChangeForm(UserChangeForm):
|
|||
Make first name, last name and email required
|
||||
in the default Django Auth User model
|
||||
"""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.fields['first_name'].required = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue