Anonymous committed 61b38fe

[1.3.X] Fixed #16904 -- Additional clarification regarding contrib.messages iteration. Thanks murphyke for the report and patch.

Backport of [16866] from trunk.

Comments (0)

Files changed (1)


 ``RequestContext``. Otherwise, ensure ``messages`` is available to
 the template context.
+Even if you know there is only just one message, you should still iterate over
+the ``messages`` sequence, because otherwise the message storage will not be cleared
+for the next request.
 Creating custom message levels