Browse files

Add missing imports and models to the examples in security documentation

  • Loading branch information...
1 parent 7264e5c commit 6a479955f0dcb37e04593bda715fd5f13c1f1106 @sspross sspross committed May 19, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/ref/contrib/csrf.txt
View
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
@csrf_exempt
def my_view(request):

0 comments on commit 6a47995

Please sign in to comment.