1
0
mirror of https://github.com/django/django.git synced 2025-03-25 08:40:45 +00:00

[1.6.x] Updated the messages context processor docs

This commit is contained in:
Claude Paroz 2014-05-06 20:40:59 +02:00
parent f939e25b59
commit dd9cedf16a

View File

@ -521,8 +521,7 @@ If :setting:`TEMPLATE_CONTEXT_PROCESSORS` contains this processor, every
``RequestContext`` will contain a single additional variable: ``RequestContext`` will contain a single additional variable:
* ``messages`` -- A list of messages (as strings) that have been set * ``messages`` -- A list of messages (as strings) that have been set
via the user model (using ``user.message_set.create``) or through via the :doc:`messages framework </ref/contrib/messages>`.
the :doc:`messages framework </ref/contrib/messages>`.
Writing your own context processors Writing your own context processors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~