Re: About Class Based views

2015-03-17 Thread Ryan Hiebert
As a anecdotal data point, when I getting started with class-based views I put everything into get_context_data method, because that’s where I thought the code for constructing the context should go. I eventually figured out that I should probably never override that method, but rather override

Re: About Class Based views

2015-03-17 Thread Curtis Maloney
No... I'm well aware of CCBV, and think it's a great tool... however, I had in mind something that would more clearly show (a) the stratified layers of interface, and (b) the typical call paths [through the layers] of the various Views and Mixins. Such a visualisation, I feel, would help many peop

Re: About Class Based views

2015-03-17 Thread Russell Keith-Magee
On Wed, Mar 18, 2015 at 5:38 AM, Curtis Maloney wrote: > I found when taking the CBGV session in MelbDjango School, it was best to > approach teaching CBV as an exercise in Interfaces. > > Once the students were familiar with writing basic views, and the patterns > therein, much of CBGV became "o

Re: About Class Based views

2015-03-17 Thread Curtis Maloney
, response >>> serialization/template rendering if you need). YMMV. >>> >>> Cheers, >>> G >>> >>> On Tue, Mar 17, 2015 at 8:53 PM, Asif Saifuddin >>> wrote: >>> >>>> Hi, >>>> >>>> I found this

Re: About Class Based views

2015-03-17 Thread Moritz S.
gt; >> Cheers, >> G >> >> On Tue, Mar 17, 2015 at 8:53 PM, Asif Saifuddin > > wrote: >> >>> Hi, >>> >>> I found this blog post about class based views of django >>> >>> http://lukeplant.me.uk/blog/posts/my-appro

Re: About Class Based views

2015-03-17 Thread Paulo Gabriel Poiati
On Tue, Mar 17, 2015 at 8:53 PM, Asif Saifuddin wrote: > >> Hi, >> >> I found this blog post about class based views of django >> >> http://lukeplant.me.uk/blog/posts/my-approach-to-class-based-views/ >> >> >> what do you guys think abou

Re: About Class Based views

2015-03-17 Thread Gaurav Dadhania
, response serialization/template rendering if you need). YMMV. Cheers, G On Tue, Mar 17, 2015 at 8:53 PM, Asif Saifuddin wrote: > Hi, > > I found this blog post about class based views of django > > http://lukeplant.me.uk/blog/posts/my-approach-to-class-based-views/ > > > what do

About Class Based views

2015-03-17 Thread Asif Saifuddin
Hi, I found this blog post about class based views of django http://lukeplant.me.uk/blog/posts/my-approach-to-class-based-views/ what do you guys think about? Regards -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to D