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 - )