mirror of
https://github.com/django/django.git
synced 2025-04-12 03:22:21 +00:00
[4.1.x] Fixed #34019 -- Removed obsolete references to "model design considerations" note.
Backport of 6b0bbaf453b7286bddf9c47a9dd75ac2acdfd617 from main
This commit is contained in:
parent
5c4269197c
commit
160d0aacb8
@ -787,11 +787,10 @@ Extending Django's default ``User``
|
||||
If you're entirely happy with Django's :class:`~django.contrib.auth.models.User`
|
||||
model, but you want to add some additional profile information, you could
|
||||
subclass :class:`django.contrib.auth.models.AbstractUser` and add your custom
|
||||
profile fields, although we'd recommend a separate model as described in the
|
||||
"Model design considerations" note of :ref:`specifying-custom-user-model`.
|
||||
``AbstractUser`` provides the full implementation of the default
|
||||
:class:`~django.contrib.auth.models.User` as an :ref:`abstract model
|
||||
<abstract-base-classes>`.
|
||||
profile fields, although we'd recommend a separate model as described in
|
||||
:ref:`specifying-custom-user-model`. ``AbstractUser`` provides the full
|
||||
implementation of the default :class:`~django.contrib.auth.models.User` as an
|
||||
:ref:`abstract model <abstract-base-classes>`.
|
||||
|
||||
.. _custom-users-and-the-built-in-auth-forms:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user