get_messages is not covered in the documentation
|Reported by:||merb||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently theres a get_messages method in the django messages framework which could be used to get messages.
At the moment it's not covered in the documentation.
There is only one note about how to avoid clearing messages.
Btw. this cleanup needs to be done, since more and more people use ajax or an REST API to query some django stuff. so you can't access the messages in the template. It would be good if somebody will introduce the
function in the documentation.
Change History (3)
comment:1 Changed 18 months ago by bmispelon
- Keywords messages added
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
- Version changed from 1.6 to master