Re: Writing class-based contrib.admin actions

2013-01-29 Thread Luke Plant
On 29/01/13 12:53, Timmy O'Mahony wrote: > At the moment, writing custom admin actions > > requires an old style view function that returns a Response object. The > signature for this is similar to a

Re: Writing class-based contrib.admin actions

2013-01-29 Thread Timmy O'Mahony
Thinking about this more, this might be better suited to a third party module that helps write admin actions - similar to django-crispy-forms etc. On Tuesday, 29 January 2013 13:53:19 UTC+1, Timmy O'Mahony wrote: > > At the moment, writing custom admin >

Writing class-based contrib.admin actions

2013-01-29 Thread Timmy O'Mahony
At the moment, writing custom admin actionsrequires an old style view function that returns a Response object. The signature for this is similar to a old function-based view (except with modeladmin