mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
Fixed typo in docs/topics/auth/customizing.txt.
This commit is contained in:
parent
93a081946d
commit
da4c0e8cc9
@ -403,7 +403,7 @@ user model, even if the default :class:`~django.contrib.auth.models.User` model
|
|||||||
is sufficient for you. This model behaves identically to the default user
|
is sufficient for you. This model behaves identically to the default user
|
||||||
model, but you'll be able to customize it in the future if the need arises::
|
model, but you'll be able to customize it in the future if the need arises::
|
||||||
|
|
||||||
from django.conf.auth.models import AbstractUser
|
from django.contrib.auth.models import AbstractUser
|
||||||
|
|
||||||
class User(AbstractUser):
|
class User(AbstractUser):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user