simpleuser/models.py
User
has 28 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class User(AbstractUser):
# Override the parent email field to add uniqueness constraint
email = models.EmailField(blank=True, unique=True)
objects = UserManager()
Function _create_user
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_user(self, email, password,