id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 19150 Presence of USERNAME_FIELD in REQUIRED_FIELDS should be validated Russell Keith-Magee nobody "Reported via Chris Pagnutti on django-users: The documentation says that when specifying a custom User model, USERNAME_FIELD *must not* be present in REQUIRED_FIELDS. However, there's no validation that this is actually true. This is an easy condition to check, so we should do so. In an ideal world, this validation would be abstracted out to the actual base User model - however, the current validation tools aren't abstracted at all. As a temporary measure, a specific AUTH_USER_MODEL check in validation.py may be required, pending a larger refactor of the validation system. Marking as release blocker because it's a major improvement to a new feature." Cleanup/optimization closed contrib.auth 1.4 Release blocker fixed Accepted 0 0 0 0 0 0