Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix admin_client & admin_user for custom user model
Relying on `User.USERNAME_FIELD` is enough for light customization and doesn't require `extra_arguments`. Esoteric user models probably need a specially tailored manager anyway and most likely a custom `django_user` fixture that goes with that.
- Loading branch information