mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Normalized casing of "custom user model".
This commit is contained in:
parent
d02a03d574
commit
93a081946d
8 changed files with 88 additions and 92 deletions
|
@ -6,7 +6,7 @@ from django.db import models
|
|||
from django.utils.encoding import python_2_unicode_compatible
|
||||
|
||||
|
||||
# The custom User uses email as the unique identifier, and requires
|
||||
# The custom user uses email as the unique identifier, and requires
|
||||
# that every user provide a date of birth. This lets us test
|
||||
# changes in username datatype, and non-text required fields.
|
||||
class CustomUserManager(BaseUserManager):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue