def create_superuser(self, email, password=None):
    user = self.create_user(email, password=password)
    user.is_admin = True
    user.is_staff = True
    user.save(using=self._db)
    return user
def create_superuser(self, email, password=None):
    user = self.create_user(email, password=password)
    user.is_admin = True
    user.is_staff = True
    user.save(using=self._db)
    return user