Hi everybody! I'm starting to play around with django and I'm building a simple application with the admin app using admin actions. Every time user uses an admin action, a message shows up confirming the action was successfully exceuted:
self.message_user(request, "Action was succesfully executed") This shows up a message on green backgroupnd with an ok mark When I find an error I show: self.message_user(request, "¡¡¡ ERROR !!!") which for me is wrong, as I show an error message on green with an icon_success.gif I've searched everywhere, but I couldn't find how to display an error message on red with icon_error. It seems this should be straightforward, but I can't find out. Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---