Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed rfc comment typo in middleware/csrf.py

  • Loading branch information...
commit f416ea9c8d8a5a7224236e429d51ce5606c95c5b 1 parent cb1614f
Collin Anderson collinanderson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/middleware/csrf.py
2  django/middleware/csrf.py
View
@@ -105,7 +105,7 @@ def process_view(self, request, callback, callback_args, callback_kwargs):
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.
Please sign in to comment.
Something went wrong with that request. Please try again.