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

前端 未结 8 1640
南方客
南方客 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 <app_name> 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

    0 讨论(0)
  • 2021-01-28 00:33

    Check if all of your items have id

    0 讨论(0)
提交回复
热议问题