Updated messages to use django.contrib.messages instead of user.message_set (removed in Django 1.3 https://docs.djangoproject.com/en/1.3/internals/deprecation/)