Matt Segal 4/9/2020

How to customise a class based view in Django

Read Original

This tutorial explains how to customize Django class-based views when basic implementations aren't sufficient. It demonstrates overriding view methods like get_queryset to filter published articles and order them by date, using Classy Class-Based Views as a reference tool for understanding available customization points.

How to customise a class based view in Django

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

2
Designing Design Systems
TkDodo Dominik Dorfmeister 2 votes
4
Introducing RSC Explorer
Dan Abramov 1 votes
6
Fragments Dec 11
Martin Fowler 1 votes
7
Adding Type Hints to my Blog
Daniel Feldroy 1 votes
8
Refactoring English: Month 12
Michael Lynch 1 votes
10