mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
[1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3 from master
This commit is contained in:
@@ -684,9 +684,13 @@ Context processors
|
||||
|
||||
Here's what each of the built-in processors does:
|
||||
|
||||
.. currentmodule:: django.contrib.auth.context_processors
|
||||
|
||||
django.contrib.auth.context_processors.auth
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. function:: auth
|
||||
|
||||
If this processor is enabled, every ``RequestContext`` will contain these
|
||||
variables:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user