Re: django messages framework

2011-09-30 Thread Wim Feijen
Using render_to_string, you can use a template, and it is backwards compatible. Would that work? Wim -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe fr

Re: django messages framework

2011-09-30 Thread Gabriel Hurley
I'm a fan of the idea, with the caveat that it can't break any backwards-compatibility with the current syntax. As such, that could either entail reworking the current methods that add messages to accept a template string as a keyword argument (and making the positional "message" argument optio

django messages framework

2011-09-30 Thread Anand Kumria
Hi, Sparked by a discussion with friends on common failing in web development, one common one is encoding HTML in the code. There are efforts underway to address this within core Django (related to widgets and forms) but a pattern I've noticed in some of my project is that messages in response to