[Fixed]-Do I need custom backend for django If my User model is custom?

1👍

a quick answer – no you dont need custom backend. If you want to replace the user model, you need to set AUTH_USER_MODEL = 'yourapp.YourUserModel'

custom backend is needed if you want to change something in authentication (can also be other reasons) cycle. e.g. authenticate against email instead of username etc …

Leave a comment