ValueError: Field 'id' expected a number but got 'Processing'

前端 未结 8 1639
南方客
南方客 2021-01-27 23:55

I\'m going to deploy my django application on DigitalOcean. Everything gone well, except following error, and my question is: where can I find source of this error, actually in

8条回答
  •  别那么骄傲
    2021-01-28 00:33

    Just do nothing There are two ways : 1)Delete Your all migrations and type in your terminal:python3 manage.py makemigrations then python3 manage.py migrate and then runserver.

    2)Just opened and changed default value from string type to integer.

    In my opinion choose first option because it is safe way.

    Thanks

提交回复
热议问题