-3

I am currently learning Python from a course Python by code with Mosh. In his course he has explained to build a web app using Django. While I was running my app on web server, I got an error "OPERATIONALERROR" and now I am stuck in it.

A picture of error I am receiving:

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186

1 Answers1

0

This is a Django bug.

Related question on Stack Overflow.

The solution as can be seen from the link is:

pip install Django --upgrade

Then:

python manage.py migrate

python manage.py makemigrations app

python manage.py migrate
halfer
  • 19,824
  • 17
  • 99
  • 186
Niteya Shah
  • 1,809
  • 1
  • 17
  • 30