Created
September 16, 2015 10:21
-
-
Save amir-qayyum-khan/5fba27592c8020d5f7f8 to your computer and use it in GitHub Desktop.
haystack issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self = <haystack.fields.CharField object at 0x7f1653f39590> | |
value = '\xe2\x80\xa6' | |
def convert(self, value): | |
if value is None: | |
return None | |
> return six.text_type(value) | |
E UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment