mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-08-07 07:19:49 +02:00
Flake8 complient
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user