summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2012-09-10 08:20:00 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2012-09-10 08:20:00 -0700
commit611a2b266b2f57f42e4a3f0ac04d560e805c08cf (patch)
tree4db1819b7bcac48618ea02b5417248ff43c98675
parentcb1614f7b30f336db2a807b43696e20fdab7b78c (diff)
parentf416ea9c8d8a5a7224236e429d51ce5606c95c5b (diff)
Merge pull request #366 from collinanderson/patch-6
fixed rfc comment typo in middleware/csrf.py
-rw-r--r--django/middleware/csrf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/middleware/csrf.py b/django/middleware/csrf.py
index 305b20e1c4..c9e8d73c82 100644
--- a/django/middleware/csrf.py
+++ b/django/middleware/csrf.py
@@ -105,7 +105,7 @@ class CsrfViewMiddleware(object):
if getattr(callback, 'csrf_exempt', False):
return None
- # Assume that anything not defined as 'safe' by RC2616 needs protection
+ # Assume that anything not defined as 'safe' by RFC2616 needs protection
if request.method not in ('GET', 'HEAD', 'OPTIONS', 'TRACE'):
if getattr(request, '_dont_enforce_csrf_checks', False):
# Mechanism to turn off CSRF checks for test suite.