Fixed User object has no attribute 'message_set', caused by django upgrade.