擅长:python、mysql、java
<p>在你的设置.py你有其他的默认字符集配置吗?在</p>
<p>看这个:
<a href="https://docs.djangoproject.com/en/dev/ref/settings/#default-charset" rel="nofollow">https://docs.djangoproject.com/en/dev/ref/settings/#default-charset</a></p>
<p>Django的其他文件中提到:</p>
<p><code>Django natively supports Unicode data everywhere.</code></p>
<p><a href="https://docs.djangoproject.com/en/1.7/ref/unicode/" rel="nofollow">https://docs.djangoproject.com/en/1.7/ref/unicode/</a></p>