Opened 10 years ago

Closed 10 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@…> 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by Chris Beaven

Triage Stage: UnreviewedAccepted

comment:2 Changed 10 years ago by Chris Beaven

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

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

Attachment: 4139-patch.txt added

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

Has patch: set

Patch attached

comment:4 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

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

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