Not a big deal but you can use User.objects.create_user() to replace these 3 lines.