mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Change the lack of supports_inactive_user on an auth backend to a
!PendingDeprecationWarning (refs #14249), fixing some bad links in the 1.3 release docs and a typo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -33,7 +33,7 @@ def load_backend(path):
|
||||
|
||||
if not hasattr(cls, 'supports_inactive_user'):
|
||||
warn("Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in %s." % cls,
|
||||
DeprecationWarning)
|
||||
PendingDeprecationWarning)
|
||||
cls.supports_inactive_user = False
|
||||
return cls()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user