You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On last 1.15 version with python 2.7, response data is utf-8 encoded and causes a UnicodeError in bas_mixins.py:63 :
ipdb> data
'{"non_field_errors":["Une demande \xc3\xa0 traiter de ce type existe d\xc3\xa9j\xc3\xa0 sur cette famille."]}'
ipdb> type(data)
<type 'str'>
ipdb> print data
{"non_field_errors":["Une demande à traiter de ce type existe déjà sur cette famille."]}
I think you should add the utf-8 encoding parameter, at least in python2 :
ipdb> print data.decode('utf-8')
u'{"non_field_errors":["Une demande à traiter de ce type existe déjà sur cette famille."]}'
The text was updated successfully, but these errors were encountered:
On last 1.15 version with python 2.7, response data is utf-8 encoded and causes a UnicodeError in bas_mixins.py:63 :
I think you should add the utf-8 encoding parameter, at least in python2 :
The text was updated successfully, but these errors were encountered: