mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Make core.User inherit from AbstractUser instead of AbstractBaseUser
This commit is contained in:
1 parent
8d6609566f
commit
8c660e9856
20 files changed
+215
-212
No files matched your search
+1
-3
@@ -167,9 +167,7 @@ class RegisteringForm(UserCreationForm):
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ("first_name", "last_name", "email")
|
||||
field_classes = {
|
||||
"email": AntiSpamEmailField,
|
||||
}
|
||||
field_classes = {"email": AntiSpamEmailField}
|
||||
|
||||
|
||||
class UserProfileForm(forms.ModelForm):
|
||||
|
||||
Reference in new issue
Block a user