Commit fe124152 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Removed deprecated contrib.csrf app.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 48edaf17
Loading
Loading
Loading
Loading

django/contrib/csrf/__init__.py

deleted100644 → 0
+0 −0

Empty file deleted.

django/contrib/csrf/middleware.py

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
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
              )