1703
In Django, I created a model.
But it is giving me an error on the below line
from django.contrib.auth import user
How to fix the error?
You missed the models in import.
models
try like below
from django.contrib.auth.models import User