Class Based Views Part 3: DetailView and template_name Shortcut

The DetailView is an important class based view since it allows us to show off details of our data instead of just bits here and there.

It is also very simple to use and will save you time. In this video you are also going to see a nice little shortcut with your templates to save you from writing a couple of extra lines.
Watch Now…

Original Source

Leave a comment