Opened 8 years ago
Closed 8 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 |
Description
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 by , 8 years ago
comment:2 by , 8 years ago
| Component: | Uncategorized → Generic views |
|---|---|
| Resolution: | → wontfix |
| Status: | new → closed |
| Summary: | Default list.html → Include default templates for class-based views |
| Type: | Uncategorized → New 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.
You have example files in the documentation (https://docs.djangoproject.com/en/2.0/ref/class-based-views/generic-display/#listview).
What would you do more than that?