[Django]-What's the difference between settings.AUTH_USER_MODEL and django.contrib.auth.get_user_model?

6👍

If I’m not mistaken the get_user_model method returns the actual user model, while settings.AUTH_USER_MODEL returns only the string that is the name/path of the model.

Leave a comment