Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add missing imports and models to the examples in security documentation

  • Loading branch information...
commit 6a479955f0dcb37e04593bda715fd5f13c1f1106 1 parent 7264e5c
@sspross sspross authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  docs/ref/contrib/csrf.txt
1  docs/ref/contrib/csrf.txt
@@ -384,6 +384,7 @@ Utilities
the middleware. Example::
from django.views.decorators.csrf import csrf_exempt
+ from django.http import HttpResponse
def my_view(request):
Please sign in to comment.
Something went wrong with that request. Please try again.