Closed lbyers closed 8 years ago
The username field does not necessarily exist on a subclass of django.contrib.auth.models.AbstractBaseUser so dot notation would break. Use of the method retrieve the value of the field specified by the USERNAME_FIELD constant.
The username field does not necessarily exist on a subclass of django.contrib.auth.models.AbstractBaseUser so dot notation would break. Use of the method retrieve the value of the field specified by the USERNAME_FIELD constant.