mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -24,7 +24,7 @@ def auth(request):
|
||||
"The context processor at `django.core.context_processors.auth` is " \
|
||||
"deprecated; use the path `django.contrib.auth.context_processors.auth` " \
|
||||
"instead.",
|
||||
PendingDeprecationWarning
|
||||
DeprecationWarning
|
||||
)
|
||||
from django.contrib.auth.context_processors import auth as auth_context_processor
|
||||
return auth_context_processor(request)
|
||||
|
||||
Reference in New Issue
Block a user