Links

Difference b/w Class & Function Based Views in Django

Function Based Views
Class Based Views
  1. 1.
    More setup
  2. 2.
    Less Abstraction
  3. 3.
    Requires error checking
  4. 4.
    Less modular
  1. 1.
    Little setup
  2. 2.
    More "magic" abstraction
  3. 3.
    Error handling built-in (generics)
  4. 4.
    Much more modular
  5. 5.
    Sane and stable generic API