title: Store and get django model object in redis
body: <p>I setup Django &amp; Redis project and try to store django model object in Redis. If I use <code>django.core.cache</code> as below, card2 is properly set to django object. However, if I use raw redis conenction provided by django_redis, it gets string representation of django model object. </p>
  
  <p>I set both keys as below. How can I use raw redis connection to get card object itself instead of its string repr? I need it because I'd like to use <code>mget</code>, <code>zrange</code> like methods of redis.py.</p>
  
  <pre><code>from django.core.cache import cache
  from django_redis import get_redis_connection
  
  con = get_redis_connection("default")
  card = Card.objects.all()[0]
  
  key = "card_" + str(card.id)
  
  con.delete(key)
  cache.delete(key)
  
  con.set(key, card)
  cache.set(key, card)
  
  card1 = con.get(key)
  card2 = cache.get(key)
  </code></pre>