Opened 7 years ago

Closed 7 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 SmileyChris 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 7 years ago by SmileyChris

comment:2 Changed 7 years ago by SmileyChris

  • Has patch set
  • Triage Stage changed from Accepted to Ready 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 7 years ago by gwilson

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

fixed in [7052].

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