问题
I am new in django/redis and i'm starting to familiarize with heroku redis addon. However, i can only use set
and get
.
When i'm trying to use other methods like hset
, i get this error : 'RedisCache' object has no attribute
cache.hset('key', 'value')
How can i manage this ?
来源:https://stackoverflow.com/questions/48551562/how-to-use-hset-with-django-redis-cache