From fe124152315ef21c0673b12ecd2d5f0bd6f271b2 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 2 Apr 2011 08:33:40 +0000 Subject: [PATCH] Removed deprecated contrib.csrf app. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15971 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/csrf/__init__.py | 0 django/contrib/csrf/middleware.py | 7 ------- 2 files changed, 7 deletions(-) delete mode 100644 django/contrib/csrf/__init__.py delete mode 100644 django/contrib/csrf/middleware.py diff --git a/django/contrib/csrf/__init__.py b/django/contrib/csrf/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/contrib/csrf/middleware.py b/django/contrib/csrf/middleware.py deleted file mode 100644 index f67a4da897..0000000000 --- a/django/contrib/csrf/middleware.py +++ /dev/null @@ -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 - )