1👍
✅
You don’t need a models file for the user, because Django already supplies one. You just need to ensure that django.contrib.user
is in INSTALLED_APPS.
The only reason you would need to import User into another models file is if you wanted to add a ForeignKey from one of your own models to the User model. In all likelihood, you do want to do that eventually; but you don’t need to just in order to get the user models created.
Source:stackexchange.com