def create_superuser(self, email, password, **extra_fields):
    u = self.create_user(email, password, **extra_fields)
    u.is_staff = True
    u.is_active = True
    u.is_superuser = True
    u.save(using=self._db)
    return u
def create_superuser(self, email, password, **extra_fields):
    u = self.create_user(email, password, **extra_fields)
    u.is_staff = True
    u.is_active = True
    u.is_superuser = True
    u.save(using=self._db)
    return u