Django Special Character Handling
I'm trying to understand how to deal correctly with special characters in Django / Python. I have added to my views.py and models.py the following encoding string: # -*- coding: ut
Solution 1:
You missed the from __future__ import unicode_literals
that would make strings in Python2 act like Python3 unicode strings.
Post a Comment for "Django Special Character Handling"