Skip to content
Browse files

Removed deprecated contrib.csrf app.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 48edaf1 commit fe124152315ef21c0673b12ecd2d5f0bd6f271b2 @freakboy3742 freakboy3742 committed
Showing with 0 additions and 7 deletions.
  1. 0 django/contrib/csrf/
  2. +0 −7 django/contrib/csrf/
0 django/contrib/csrf/
No changes.
7 django/contrib/csrf/
@@ -1,7 +0,0 @@
-from django.middleware.csrf import CsrfMiddleware, CsrfViewMiddleware, CsrfResponseMiddleware
-from django.views.decorators.csrf import csrf_exempt, csrf_view_exempt, csrf_response_exempt
-import warnings
-warnings.warn("This import for CSRF functionality is deprecated. Please use django.middleware.csrf for the middleware and django.views.decorators.csrf for decorators.",
- DeprecationWarning
- )

0 comments on commit fe12415

Please sign in to comment.
Something went wrong with that request. Please try again.