Opened 2 years ago

Closed 2 years ago

#29210 closed New feature (wontfix)

Include default templates for class-based views

Reported by: James Pic Owned by: nobody
Component: Generic views Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Django could ship a default django/list.html by default for the ListView, even if it's not design to show the configuration and demonstrate how to use context variables.

Same for other templates.

Didn't find a ticket for this if duplicate please forgive me and close ;)

Change History (2)

comment:1 Changed 2 years ago by Claude Paroz

You have example files in the documentation (
What would you do more than that?

comment:2 Changed 2 years ago by Tim Graham

Component: UncategorizedGeneric views
Resolution: wontfix
Status: newclosed
Summary: Default list.htmlInclude default templates for class-based views
Type: UncategorizedNew feature

Like Claude, I'm not immediately convinced that sufficiently generic and useful templates could be written to justify this. The concept could start as a third-party application. Then a proposal to include it in Django should first go through the DevelopersMailingList rather than through this issue tracker.

Note: See TracTickets for help on using tickets.
Back to Top