#1643 closed defect (fixed)
Generic views need to be updated for template extension change
| Reported by: | Esaj | Owned by: | Jacob |
|---|---|---|---|
| Component: | Generic views | Version: | magic-removal |
| 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
Change History (5)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
As well as updates to the generic views, I think the magic removal migration docs should have a note saying that the 'template_name' parameter to generic views needs updating -- in the common case this will require updating urls.py
comment:3 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:4 by , 20 years ago
comment:5 by , 20 years ago
I've updated RemovingTheMagic to mention the generic-views template_name change.
Note:
See TracTickets
for help on using tickets.
Also, the
404and500templates should probably be loaded from404.htmland500.html. That is, unless people think generic view and error templates should just have no extensions...