Added support for the Django messages framework