Opened 13 years ago
Closed 13 years ago
#19205 closed Uncategorized (duplicate)
HttpResponse docs refer to content_type, but shortcuts docs refer to mimetype
| Reported by: | Jim Garrison | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The file docs/ref/request-response.txt says that the mimetype parameter to HttpResponse has been deprecated in favor of content_type. However, in docs/topics/http/shortcuts.txt it still refers to the mimetype parameter in render_to_response(), even though content_type would work just as well. This should be updated to instead refer to content_type for consistency.
Attachments (1)
Change History (2)
by , 13 years ago
| Attachment: | 0001-make-render_to_response-docs-refer-to-content_type-n.patch added |
|---|
comment:1 by , 13 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is not only a documentation change. See #10504