Difference b/w Class & Function Based Views in Django
Function Based Views
Class Based Views
More setup
Less Abstraction
Requires error checking
Less modular
Little setup
More "magic" abstraction
Error handling built-in (generics)
Much more modular
Sane and stable generic API
PreviousCryptographically strong random stringNextDividing Time deltas in python - Difference b/w 2 datetime values
Last updated