Django

Code

Ticket #4139 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Documentation mentions non-existent "add_message" method

Reported by: robbyd@u20.org Assigned to: jacob
Milestone: Component: Documentation
Version: SVN Keywords: add_message
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

4139-patch.txt (0.6 kB) - added by Jeremy Dunck <jdunck@gmail.com> on 05/02/07 11:10:00.

Change History

04/23/07 22:47:34 changed by SmileyChris

  • stage changed from Unreviewed to Accepted.

04/23/07 23:02:13 changed by SmileyChris

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

05/02/07 11:10:00 changed by Jeremy Dunck <jdunck@gmail.com>

  • attachment 4139-patch.txt added.

05/02/07 11:13:28 changed by Jeremy Dunck <jdunck@gmail.com>

  • has_patch set to 1.

Patch attached

05/02/07 15:24:36 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #4139 (Documentation mentions non-existent "add_message" method)




Change Properties
Action