Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed deprecated contrib.csrf app.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fe124152315ef21c0673b12ecd2d5f0bd6f271b2 1 parent 48edaf1
@freakboy3742 freakboy3742 authored
View
0  django/contrib/csrf/__init__.py
No changes.
View
7 django/contrib/csrf/middleware.py
@@ -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
- )
Please sign in to comment.
Something went wrong with that request. Please try again.