rewrote console to use Django's messages framework