Opened 9 years ago

Closed 9 years ago

#6502 closed (fixed)

render_to_response documentation should mention context_instance

Reported by: Daniel Pope <dan@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The context_instance keyword argument to django.shortcuts.render_to_response is not documented in the function's documentation. It should be documented, or at least referenced.

context_instance is currently documented only with the RequestContext documentation - not where you would look for information about render_to_response!

Attachments (1)

6502.diff (1.3 KB) - added by Chris Beaven 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Chris Beaven

Triage Stage: UnreviewedAccepted

Changed 9 years ago by Chris Beaven

Attachment: 6502.diff added

comment:2 Changed 9 years ago by Chris Beaven

Has patch: set
Triage Stage: AcceptedReady for checkin

I've also changed the first optional argument from context to dictionary because that is actually what the loader.render_from_string function's keyword argument is.

comment:3 Changed 9 years ago by Gary Wilson

Resolution: fixed
Status: newclosed

fixed in [7052].

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