Opened 14 years ago

Closed 14 years ago

#14936 closed (fixed)

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

Reported by: Adam Vandenberg Owned by: nobody
Component: Uncategorized Version: dev
Severity: 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

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 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(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