0👍
✅
Turns out that I was using #coding UTF-8
comment but, switching to #encoding UTF-8
seems to solve the problem
1👍
When you write non-ASCII string literals in source files, you need to set the literal encoding in the # coding
comment. If your file is in thr UTF8 encoding you need to write # coding: utf-8
, not #coding iso8859-1
.
👤wRAR
- [Answer]-Set default value on migration Django/South?
- [Answer]-Value Error when render used (django 1.7.1)
- [Answer]-Django-nonrel Status
- [Answer]-How are IAM Policies taken into account when accessing objects in buckets from Django Server
Source:stackexchange.com