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.
Source:stackexchange.com
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.