#1645 closed defect (fixed)
[magic-removal] tutorial03.txt: Template names in render_to_response are missing the extension.
| Reported by: | Owned by: | Jacob | |
|---|---|---|---|
| Component: | Documentation | 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
All calls to render_to_response in the sample code of this tutorial are missing the .html extension for the template name.
Change History (3)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Must have been fixed, cos all the render_to_response's are correct in 03... however this prompted me to check in the other docs: see #1666
Note:
See TracTickets
for help on using tickets.
Also, the section "Use the template system" uses poll.get_choice_list instead of poll.choice_set.all (in the code sample and in the text).