Speaker Deck

Django Views: Functions, Classes, and Generics

by Andrew Pinkham

Published September 7, 2015 in Technology

Presented at DjangoCon US 2015.

At the heart of Django is the HTTP Request and Response cycle, powered by URL patterns and views that you must create. But what kind of view should you use? A view function? A class-based view? A generic class-based view? This talk is all about the essence of views, and will explore the differences, advantages and disadvantages of each type of view, finishing with a guide of when to use what.