| author | ymh <ymh.work@gmail.com> |
| Tue, 15 Mar 2011 10:34:41 +0100 | |
| changeset 65 | 3d18d15135f1 |
| parent 38 | 77b6da96e6f1 |
| permissions | -rw-r--r-- |
| 38 | 1 |
from django.middleware.csrf import CsrfMiddleware, CsrfViewMiddleware, CsrfResponseMiddleware |
2 |
from django.views.decorators.csrf import csrf_exempt, csrf_view_exempt, csrf_response_exempt |
|
3 |
||
4 |
import warnings |
|
5 |
warnings.warn("This import for CSRF functionality is deprecated. Please use django.middleware.csrf for the middleware and django.views.decorators.csrf for decorators.", |
|
6 |
PendingDeprecationWarning |
|
7 |
) |