mirror of
https://github.com/django/django.git
synced 2025-06-07 20:49:11 +00:00
[1.10.x] Fixed typo in docs/topics/auth/customizing.txt.
Backport of da4c0e8cc90d8a43908524f6b85135e60582feb7 from master
This commit is contained in:
parent
63696982b8
commit
4f4d1a71d3
@ -393,7 +393,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