Loading docs/topics/auth/customizing.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1051,7 +1051,7 @@ code would be required in the app's ``admin.py`` file:: class Meta: model = MyUser fields = ['email', 'password', 'date_of_birth', 'is_active', 'is_admin'] fields = ('email', 'password', 'date_of_birth', 'is_active', 'is_admin') def clean_password(self): # Regardless of what the user provides, return the initial value. Loading Loading
docs/topics/auth/customizing.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1051,7 +1051,7 @@ code would be required in the app's ``admin.py`` file:: class Meta: model = MyUser fields = ['email', 'password', 'date_of_birth', 'is_active', 'is_admin'] fields = ('email', 'password', 'date_of_birth', 'is_active', 'is_admin') def clean_password(self): # Regardless of what the user provides, return the initial value. Loading