Answers for "ValueError: Invalid model reference 'user_auth.models.User'. String model references must be of the form 'app_label.ModelName'."

0

ValueError: Invalid model reference 'user_auth.models.User'. String model references must be of the form 'app_label.ModelName'.

# In  you settings.py, change
# AUTH_USER_MODEL = 'users.models.MyUser'
# to
AUTH_USER_MODEL = 'users.MyUser'
Posted by: Guest on November-01-2020

Code answers related to "ValueError: Invalid model reference 'user_auth.models.User'. String model references must be of the form 'app_label.ModelName'."

Python Answers by Framework

Browse Popular Code Answers by Language