Re: CSRF protection in admin in Django 1.2

2010-05-17 Thread Spaceman Paul
Seems to only be a problem when my over-ridden view function calls down to the base class view implementation. And indeed an excessive exercise in copy-and-pasting fixes it. It would be nice if there was a clean simple way to turn CSRF off in sub-classed admin sites. E.g: class MyAdminSite(Admi

CSRF protection in admin in Django 1.2

2010-05-17 Thread Spaceman Paul
Hi, I just upgraded to Django 1.2 and am having some problems. My project contains several customised django.contrib.admin sites that offer highly stripped down subsets of admin functionality. These customised sites do not use authentication and are expected to be POSTed to both by users and by e