Django - (1366, "Incorrect string value:… error

后端 未结 1 415
暖寄归人
暖寄归人 2020-12-18 09:09

I am getting the following error when I try to add a new record via django admin:

OperationalError at /admin/competition/sport/add/ (13

相关标签:
1条回答
  • 2020-12-18 09:48

    You have to modify the django_admin_log character set

    ALTER TABLE django_admin_log CHANGE object_repr object_repr VARCHAR(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
    
    0 讨论(0)
提交回复
热议问题