Opened 7 years ago

Closed 7 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: master
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


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)

0001-make-render_to_response-docs-refer-to-content_type-n.patch (1.9 KB) - added by Jim Garrison 7 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 7 years ago by Claude Paroz

Resolution: duplicate
Status: newclosed

This is not only a documentation change. See #10504

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