[Fixed]-How to force uniqueness of a field in default REST User model? 22 December 2023 by thecoderscamp.com 1👍 ✅ You should add a UniqueValidator to your field to ensure it’s unique. 👤Linovia Not able to authenticate using the django rest framework (request.user = AnonymousUser) Source:stackexchange.com