Re: Error notification in admin site. Should be easy!!!

2009-05-20 Thread Alex Gaynor
On Wed, May 20, 2009 at 10:09 AM, Felipe Martinez wrote: > > > > Sorry, but I got lost somewhere in formsets. I'm using actions from > change_list.html, so I suppose I should use cl.formset.errors: > > {% if cl.formset.errors %} > > {% blocktrans count cl.formset.errors|length a

Re: Error notification in admin site. Should be easy!!!

2009-05-20 Thread Felipe Martinez
Sorry, but I got lost somewhere in formsets. I'm using actions from change_list.html, so I suppose I should use cl.formset.errors: {% if cl.formset.errors %} {% blocktrans count cl.formset.errors|length as counter %} Please correct the error below.{% plural %}Please correc

Re: Error notification in admin site. Should be easy!!!

2009-05-20 Thread Alex Gaynor
On Wed, May 20, 2009 at 6:24 AM, Felipe Martinez wrote: > > Hi, everybody > > I've done a simple app using admin actions in django's admin site. > Everytime somebody executes an action some checks are made and > messages are delivered informing about actions result (ok, error, > warnig...etc) > >

Error notification in admin site. Should be easy!!!

2009-05-20 Thread Felipe Martinez
Hi, everybody I've done a simple app using admin actions in django's admin site. Everytime somebody executes an action some checks are made and messages are delivered informing about actions result (ok, error, warnig...etc) I'm using message_user for that, but that always returns a green check m