On Tue, Feb 24, 2015 at 1:51 AM, James Schneider
wrote:
> However, if you have working view functions, what is the"need" to switch to
> CBV's?
this.
the switch to CBV, wasn't "modern Django views are classes instead of
functions; Get rid of your functions!, FBV are dead!". Instead it's
just t
Sure, you would just override the get() and post() and possibly dispatch()
methods in your classes as needed.
I always recommend the classy CBV inspector, helps immensely with
understanding the available methods and inheritance in the CBV's.
http://ccbv.co.uk/
Also check out the source code of D
2 matches
Mail list logo