| 1 |
Index: docs/templates_python.txt |
|---|
| 2 |
=================================================================== |
|---|
| 3 |
--- docs/templates_python.txt (revision 5135) |
|---|
| 4 |
+++ docs/templates_python.txt (working copy) |
|---|
| 5 |
@@ -345,7 +345,7 @@ |
|---|
| 6 |
``request.user.get_and_delete_messages()`` for every request. That method |
|---|
| 7 |
collects the user's messages and deletes them from the database. |
|---|
| 8 |
|
|---|
| 9 |
- Note that messages are set with ``user.add_message()``. See the |
|---|
| 10 |
+ Note that messages are set with ``user.message_set.create``. See the |
|---|
| 11 |
`message docs`_ for more. |
|---|
| 12 |
|
|---|
| 13 |
* ``perms`` -- An instance of |
|---|