Opened 5 years ago

Closed 4 years ago

#17285 closed Bug (fixed)

Documentation typo: 'SimpleTemplateResponse.add_post_rendering_callback'

Reported by: yorkedork Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

I came across a documentation bug that briefly bit me yesterday (in 1.3 and dev):

docs/refs/template-response.txt:

.. method:: SimpleTemplateResponse.add_post_rendering_callback

    Add a callback that will be invoked after rendering has taken

should read:

.. method:: SimpleTemplateResponse.add_post_render_callback

    Add a callback that will be invoked after rendering has taken

This method is referenced correctly later in the template when it discusses usage.

Change History (3)

comment:1 Changed 5 years ago by Julien Phalip

Resolution: fixed
Status: newclosed

In [17146]:

Fixed #17285 -- Fixed a small typo in SimpleTemplateResponse's doc. Thanks, yorkedork.

comment:2 Changed 4 years ago by anonymous

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: fixed
Status: closedreopened

comment:3 Changed 4 years ago by Aymeric Augustin

Resolution: fixed
Status: reopenedclosed

Yes, this is consistent with our branch policy.

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