#21591: get_messages is not covered in the documentation
--------------------------------------+--------------------
     Reporter:  merb                  |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Documentation         |    Version:  1.6
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  1                     |      UI/UX:  0
--------------------------------------+--------------------
 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.
 > [https://docs.djangoproject.com/en/dev/ref/contrib/messages/#expiration-
 of-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
 {{{
 get_messages(request)
 }}}

 function in the documentation.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21591>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.14b2883fe0374ba8bbc45692d03306b1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to