Auto-generated field 'user_ptr' clashes with declared field of the same name
问题 I have a Django app that has CustomUser. My model looks something like class CustomUser(AbstractBaseUser): def get_short_name(self): pass def get_full_name(self): pass firstName = models.CharField(max_length=300) middleName = models.CharField(max_length=300, blank=True) lastName = models.CharField(max_length=300, blank=True) username = models.CharField(unique=True, max_length=50) businessName = models.CharField(max_length=500, default=None) mobileNumber = models.CharField(max_length=20)