Opened 3 years ago

Closed 3 years ago

#19205 closed Uncategorized (duplicate)

HttpResponse docs refer to content_type, but shortcuts docs refer to mimetype

Reported by: 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

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)

0001-make-render_to_response-docs-refer-to-content_type-n.patch (1.9 KB) - added by garrison 3 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

This is not only a documentation change. See #10504

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