I'm using django 1.9 and Python 3. I've installed python-memcached
and when I try to cache.set("foo", "bar")
I get this error:
TypeError: a bytes-like object is required, not 'str'
Any idea why this is happening? I made sure to set the middleware and add the cache to settings.py