3 ms·
Django class based views always seemed overly complicated to me. I cope with it thanks to the useful http://ccbv.co.uk/ http://ccbv.co.uk/ and frequently had to
by blaze33 13y ago
Django class based views always seemed overly complicated to me. I cope with it thanks to the useful http://ccbv.co.uk/ http://ccbv.co.uk/ and frequently had to hand draw the inheritance tree to understand what the hell was going on with my method calls.
I'll be curious to know what was the actual reasoning behind this complicated design.
- tomchristie 13y agoI thought the design seemed reasonable at the time, the strict separation of concerns that the mixin classes provide is valid enough. It's only now that we've been using CBVs for a while that it's become more apparent that they're somewhat over-designed, and can be awkward to get to grips with.