mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
0b1d24c54d
commit
f85cd32dbd
|
@ -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
|
||||
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/
|
||||
|
|
Loading…
Reference in New Issue