Django - When should we use Function-based and Class-based views?
This flowchart explains when we use Function-based views and when we should use Class-based views instead:
(source: Two Scoops of Django by Daniel Greenfeld and Audrey Roy)
Comments
Post a Comment