Opened 6 years ago

Closed 6 years ago

#14936 closed (fixed)

New "render" shortcut docs use "mimetype" instead of "content_type"

Reported by: adamv Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


The docs for HttpResponse emphasize "content_type" as the parameter to use, with mimetype being there for backwards compatibility. It looks like the docs for the newly added "render" shortcut emphasize the use of mimetype. render's docs should probably be rewritten to emphasize content_type instead.

Change History (1)

comment:1 Changed 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [15020]) Fixed #14936 -- Tweaked the new render shortcut to reflect non-legacy arguments. Thanks to adamv for the report.

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