[Answered ]-Database backend error in django for foreign key

2👍

#user = models.ForeignKey(User)

is commented now.
Did you try to execute migrate while it was uncommented ?

try
python manage.py migrate –fake
and then

python manage.py migrate

Leave a comment