Re: Proposal: A diagram showing Class Based View inheritance and mixins.

2013-08-20 Thread George Hickman
Seth, This sounds like a great idea. I believe the folks behind ccbv.co.uk are also trying to do something like this, maybe you could collaborate with them? George On Monday, August 19, 2013 8:40:36 PM UTC+1, Seth Moon wrote: > > Such as one for each of the pink CBVs (CreateView, UpdateView,

Re: Class based views: A standard hook for http-method-independent code

2013-02-11 Thread George Hickman
everyone > is raving about! > > > On Saturday, November 17, 2012 1:09:40 AM UTC+11, Daniel Sokolowski wrote: > >> I like this approach. >> >> *From:* George Hickman >> *Sent:* Thursday, November 15, 2012 7:27 AM >> *To:* django-d...@**googlegroups.co

Re: Class based views: A standard hook for http-method-independent code

2012-11-20 Thread George Hickman
ski > <daniel.s...@klinsight.com > wrote: > > I like this approach. > > > > From: George Hickman > > Sent: Thursday, November 15, 2012 7:27 AM > > To: django-d...@googlegroups.com > > Subject: Re: Class based views: A standard hook for > http-me

Re: Class based views: A standard hook for http-method-independent code

2012-11-16 Thread George Hickman
I have a slightly different proposal, one where we can avoid the extra hook but hopefully cover everyone's use cases too. https://github.com/ghickman/django/commit/85ac39a481074c25af1ed72a7a12e62ff5425e54 I've personally never liked the setting of args, kwargs & request from within dispatch

Re: Class based views: A standard hook for http-method-independent code

2012-11-08 Thread George Hickman
I think the naming in rest framework is certainly nicer than init, purely from the being explicit point of view. Having a method with the same name as a dunder method seems like it would be a point of confusion for new comers too. On Thursday, November 8, 2012 7:43:45 AM UTC, Mike Fogel wrote: