summaryrefslogtreecommitdiff
path: root/django/core/serializers/python.py
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-10-30 00:17:29 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-10-30 00:17:29 +0000
commit5a0aab41ee4de9e465164d3fbba9336c1fefa5ec (patch)
treecd70fa86d4eb3c50b51f5527160afc8dea63f3de /django/core/serializers/python.py
parent96658ef2d24bd05c75aa98c5318d49f7e26549e7 (diff)
Allow CsrfResponseMiddleware to be used if templates cannot be updated.
For the case where someone is using contrib views with custom templates that they cannot update to use the template tag, it should be possible to use CsrfResponseMiddleware. This requires that 'csrf_response_exempt' is not used for the admin views. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/serializers/python.py')
0 files changed, 0 insertions, 0 deletions