Fixed #34019 -- Removed obsolete references to "model design considerations" note.

This commit is contained in:
DevilsAutumn 2022-09-17 00:01:05 +05:30 committed by Mariusz Felisiak
parent 9c42933711
commit 6b0bbaf453
1 changed files with 4 additions and 5 deletions

View File

@ -789,11 +789,10 @@ Extending Django's default ``User``
If you're entirely happy with Django's :class:`~django.contrib.auth.models.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 model, but you want to add some additional profile information, you could
subclass :class:`django.contrib.auth.models.AbstractUser` and add your custom subclass :class:`django.contrib.auth.models.AbstractUser` and add your custom
profile fields, although we'd recommend a separate model as described in the profile fields, although we'd recommend a separate model as described in
"Model design considerations" note of :ref:`specifying-custom-user-model`. :ref:`specifying-custom-user-model`. ``AbstractUser`` provides the full
``AbstractUser`` provides the full implementation of the default implementation of the default :class:`~django.contrib.auth.models.User` as an
:class:`~django.contrib.auth.models.User` as an :ref:`abstract model :ref:`abstract model <abstract-base-classes>`.
<abstract-base-classes>`.
.. _custom-users-and-the-built-in-auth-forms: .. _custom-users-and-the-built-in-auth-forms: