...
hit_count_response = HitCountMixin.hit_count(request, hit_count)
File "project/.venv/local/lib/python2.7/site-packages/hitcount/views.py", line 54, in hit_count
if BlacklistUserAgent.objects.filter(user_agent__exact=user_agent):
File "project/.venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 170, in __nonzero__
return type(self).__bool__(self)
File "project/.venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 166, in __bool__
self._fetch_all()
File "project/.venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 965, in _fetch_all
self._result_cache = list(self.iterator())
File "project/.venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 238, in iterator
results = compiler.execute_sql()
File "project/.venv/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 840, in execute_sql
cursor.execute(sql, params)
File "project/.venv/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "project/.venv/local/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "project/.venv/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
DataError: invalid byte sequence for encoding "UTF8": 0xf1 0x61 0x3b 0x46
Django==1.8.17
django-hitcount==1.2.2