diff options
| author | Chris Beaven <smileychris@gmail.com> | 2011-01-14 08:31:14 +0000 |
|---|---|---|
| committer | Chris Beaven <smileychris@gmail.com> | 2011-01-14 08:31:14 +0000 |
| commit | faa4a98f27085e2f6e8e741fb641b084333abdca (patch) | |
| tree | c9facfcaf92324c4c851bf40b5b3281aea73494f /django | |
| parent | 92d43522839fd9ec945d8c018de78770bec04ee1 (diff) | |
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
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/auth/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py index 7fb6370c32..173ce1eaf0 100644 --- a/django/contrib/auth/__init__.py +++ b/django/contrib/auth/__init__.py @@ -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() |
