mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #14249 -- Added support for inactive users to the auth backend system. Thanks, Harro van der Klauw.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5830477e46
commit
745c255a19
9 changed files with 156 additions and 20 deletions
|
@ -98,6 +98,9 @@ their deprecation, as per the :ref:`Django deprecation policy
|
|||
* The ``no`` language code has been deprecated in favor of the ``nb``
|
||||
language code.
|
||||
|
||||
* Authentication backends need to define the boolean attribute
|
||||
``supports_inactive_user``.
|
||||
|
||||
* 1.5
|
||||
* The ``mod_python`` request handler has been deprecated since the 1.3
|
||||
release. The ``mod_wsgi`` handler should be used instead.
|
||||
|
@ -139,6 +142,11 @@ their deprecation, as per the :ref:`Django deprecation policy
|
|||
* The :djadmin:`reset` and :djadmin:`sqlreset` management commands
|
||||
are deprecated.
|
||||
|
||||
* Authentication backends need to support a inactive user
|
||||
being passed to all methods dealing with permissions.
|
||||
The ``supports_inactive_user`` variable is not checked any
|
||||
longer and can be removed.
|
||||
|
||||
* 2.0
|
||||
* ``django.views.defaults.shortcut()``. This function has been moved
|
||||
to ``django.contrib.contenttypes.views.shortcut()`` as part of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue