OperationalError, no such column. Django

后端 未结 22 1834
情话喂你
情话喂你 2020-12-24 00:45

I am very new to django and was able to finish the tutorial on djangoproject.com without any errors. I am now going through the Django REST framework tutorial found at http:

22条回答
  •  旧巷少年郎
    2020-12-24 01:16

    I think you skipped this steps...run the following commands to see if you had forgotten to execute them...it worked for me.

    $ python manage.py makemigrations

    $ python manage.py migrate

    Thank you.

提交回复
热议问题