#16904 closed Cleanup/optimization (fixed)
django.contrib.messages minor note
Reported by: | murphyke | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the "Displaying messages" section, it might be helpful to add the sentence: "Even when 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."
The patch is attached.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | messages.txt.diff added |
---|
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [16866]: