Code

Opened 3 years ago

Closed 2 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.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by julien

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

In [17146]:

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

comment:2 Changed 2 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 2 years ago by aaugustin

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

Yes, this is consistent with our branch policy.

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.