Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improved docs/authentication.txt to note that messages only work with…
… registered users, not anonymous users

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Nov 9, 2005
1 parent 0b1d24c commit f85cd32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/authentication.txt
Expand Up @@ -474,3 +474,8 @@ messages are made available in the `template context`_ as the template variable


Note that ``DjangoContext`` calls ``get_and_delete_messages`` behind the Note that ``DjangoContext`` calls ``get_and_delete_messages`` behind the
scenes, so any messages will be deleted even if you don't display them. scenes, so any messages will be deleted even if you don't display them.

Finally, note that this messages framework only works with users in the user
database. To send messages to anonymous users, use the `session framework`_.

.. _session framework: http://www.djangoproject.com/documentation/sessions/

0 comments on commit f85cd32

Please sign in to comment.