Code

Opened 3 years ago

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

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.

Attachments (0)

Change History (1)

comment:1 Changed 3 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.