def create_superuser(self, username, email, password):
    '\n        Creates and saves a superuser with the given email, date of\n        birth and password.\n        '
    user = self.create_user(username, email, password=password)
    user.is_admin = True
    user.is_staff = True
    user.save(using=self._db)
    return user
Creates and saves a superuser with the given email, date of
birth and password.
def create_superuser(self, username, email, password):
    '\n        Creates and saves a superuser with the given email, date of\n        birth and password.\n        '
    user = self.create_user(username, email, password=password)
    user.is_admin = True
    user.is_staff = True
    user.save(using=self._db)
    return user