Code

Opened 7 years ago

Closed 7 years ago

#4139 closed (fixed)

Documentation mentions non-existent "add_message" method

Reported by: robbyd@… Owned by: jacob
Component: Documentation Version: master
Severity: Keywords: add_message
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The documentation here
makes mention of a "user.add_message()" method. This method was seemingly removed in rev 2053. However, the link above refers to the message docs, which do list the correct method of using "user_obj.message_set.create(message='message_text')".

The Django book also mentions this (but I can't make a comment on it now as it is closed to comments).

The fix would obviously be to correct the text at the first link.

Attachments (1)

4139-patch.txt (584 bytes) - added by Jeremy Dunck <jdunck@…> 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by SmileyChris

  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by SmileyChris

Don't think that was the revision where it was removed, but it's definitely not there now in any case.

Changed 7 years ago by Jeremy Dunck <jdunck@…>

comment:3 Changed 7 years ago by Jeremy Dunck <jdunck@…>

  • Has patch set

Patch attached

comment:4 Changed 7 years ago by adrian

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

(In [5137]) Fixed #4139 -- Fixed typo in docs/templates_python.txt.

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.