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
from vkontakte_places.models import City
city = {u'id': 2566, u'title': u'\u0422\u043e\u0440\u0435\u0446\u043a (\u0431\u044b\u0432\u0448. \u0414\u0437\u0435\u0440\u0436\u0438\u043d\u0441\u043a)'}
City.objects.get_or_create(remote_id=city['id'], name=city['title'])
вызывает ошибку
'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
если этот город уже существует (прогнать код дважды)
The text was updated successfully, but these errors were encountered:
https://github.com/ramusus/django-vkontakte-api/blob/master/vkontakte_api/models.py#L450
Этот код
вызывает ошибку
'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
если этот город уже существует (прогнать код дважды)
The text was updated successfully, but these errors were encountered: