summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Tamlyn <marc.tamlyn@gmail.com>2014-11-16 09:24:22 +0000
committerMarc Tamlyn <marc.tamlyn@gmail.com>2014-11-16 09:24:22 +0000
commit4024dd0c98d71647b2001f186a92242314c987b2 (patch)
tree2846330aec790ff48a03a88fec98b584883b51a9
parentd30a131119c34ba166ccb7b01bc6201caa6f0831 (diff)
parentb4bb5cd0a31c6e9ebc2be9dff245f506940f9159 (diff)
Merge pull request #3526 from gregorth/ticket_23585
Fixed #23585 - Corrected internal comment.
-rw-r--r--django/template/context.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/django/template/context.py b/django/template/context.py
index 76af916cb7..fa721a9f5f 100644
--- a/django/template/context.py
+++ b/django/template/context.py
@@ -3,9 +3,7 @@ from django.utils.module_loading import import_string
# Cache of actual callables.
_standard_context_processors = None
-# We need the CSRF processor no matter what the user has in their settings,
-# because otherwise it is a security vulnerability, and we can't afford to leave
-# this to human error or failure to read migration instructions.
+# Hard-coded processor for easier use of CSRF protection.
_builtin_context_processors = ('django.core.context_processors.csrf',)