Django创建数据库时设置字符集

在控制台输入一下命令:

create database 数据库名 charset=utf8;

 

posted @ 2021-01-18 14:37  胸怀丶若谷  阅读(643)  评论(0)    收藏  举报