如果报错....for column 'object_repr' at row 1.就找到此列所在表为django_admin_log,然后插入:
ALTER TABLE django_admin_log MODIFY COLUMN object_repr VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;
如果报错....for column 'object_repr' at row 1.就找到此列所在表为django_admin_log,然后插入:
ALTER TABLE django_admin_log MODIFY COLUMN object_repr VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;
转载于:https://www.cnblogs.com/wangjiafang/p/3933652.html