django.contrib.messages minor note
|Reported by:||murphyke||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
Change History (4)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Ready for checkin|
|Type:||Uncategorized → Cleanup/optimization|