1👍
✅
Set file encoding to UTF-8 by writing the following at the top of the file.
# coding=utf8
Then add a lower case u before the string.
verbose_name=u'Imię'
More info about encodings in Python in PEP 263.
0👍
You forgot to use a unicode
.
imie = models.CharField(verbose_name=u'Imię', max_length=40)
- [Answer]-Should the response argument to `process_response` always be a subclass of HttpResponse?
- [Answer]-Override Default Save Method And Create Duplicate
- [Answer]-Cannot import python social auth into Django app that uses custom login
- [Answer]-Django- update division of base template after post without reload
- [Answer]-Django development server hangs with firefox and chrome
Source:stackexchange.com