title: How to match redis key patterns using native django cache?
body: <p>I have a series of caches which follow this pattern:</p>
  <pre><code>key_x_y = value
  </code></pre>
  <p>Like:</p>
  <pre><code>  'key_1_3' = 'foo'
    'key_2_5' = 'bar'
    'key_1_7' = 'baz'
  </code></pre>
  <p>Now I'm wondering how can I iterate over all keys to match pattern like <code>key_1_*</code> to get <code>foo</code> and <code>baz</code> using the native django <code>cache.get()</code>?</p>
  <p>(I know that there are way, particularly <a href="http://niwinz.github.io/django-redis/latest/" rel="nofollow noreferrer">for redis</a>, that allow using more extensive api like <code>iterate</code>, but I'd like to stick to vanilla django cache, if possible)</p>