开发者

Changing the encoding of a table with django+south migrations using --auto

Django newbie here

I know that 开发者_StackOverflow中文版I can change the encoding of a table by writing my own south migration.

My question is, is there a way doing it by changing my model and using

./manage.py schemamigration my_app --auto

?


AFAIK, there is no such thing as charset modification migration, as charset depends on deployment and thus is settings option.

Thus, You must crate the migration manually (so probably without --auto and using raw SQL).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜