mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.
This commit is contained in:
parent
0368d63a78
commit
1ec1633cb2
5 changed files with 121 additions and 2 deletions
|
@ -645,3 +645,20 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
|
|||
Same as :class:`RemoteUserBackend` except that it doesn't reject inactive
|
||||
users because :attr:`~RemoteUserBackend.user_can_authenticate` always
|
||||
returns ``True``.
|
||||
|
||||
``AppConfig`` classes
|
||||
=====================
|
||||
|
||||
.. module:: django.contrib.auth.apps
|
||||
:synopsis: AppConfigs for contrib.auth.
|
||||
|
||||
.. class:: AuthConfig
|
||||
|
||||
The default :class:`~django.apps.AppConfig`.
|
||||
|
||||
.. class:: BaseAuthConfig
|
||||
|
||||
.. versionadded:: 1.11
|
||||
|
||||
An :class:`~django.apps.AppConfig` for use if you :ref:`aren't using
|
||||
<using-auth-without-models>` any of the built-in ``contrib.auth`` models.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue