0Pricing
Django Academy · Lesson

ListView and DetailView

Display collections and single records.

Two Pages You Always Need

Nearly every app shows a list of things and a page for one thing. Django ships generic views that build both for you. ✨

Meet ListView

ListView fetches many objects and hands them to a template, so you skip writing the query and the render call yourself.

All lessons in this course

  1. ListView and DetailView
  2. CreateView and UpdateView
  3. DeleteView and success_url
  4. Overriding get_queryset and Templates
← Back to Django Academy