Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.

This commit is contained in:
Jon Dufresne 2016-09-10 16:38:05 -07:00 committed by GitHub
parent 0368d63a78
commit 1ec1633cb2
5 changed files with 121 additions and 2 deletions

View file

@ -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.