title: How to see keys set by django-ratelimit in redis server?
body: <p>I am using the following</p>
  <pre><code>django==3.1.3
  django-ratelimit==3.0.1
  django-redis==4.12.1
  djangorestframework==3.12.2
  </code></pre>
  <p>I am trying to set up a rate-limit to limit the number of times a <code>POST</code> request is called.</p>
  <p>I have this in my settings:</p>
  <pre><code>CACHES = {
      &quot;default&quot;: {
          &quot;BACKEND&quot;: &quot;django_redis.cache.RedisCache&quot;,
          &quot;LOCATION&quot;: &quot;redis://127.0.0.1:6379/1&quot;,
          &quot;OPTIONS&quot;: {
              &quot;CLIENT_CLASS&quot;: &quot;django_redis.client.DefaultClient&quot;,
          },
          &quot;KEY_PREFIX&quot;: &quot;my_app&quot;
      }
  }
  </code></pre>
  <p>I have this in <code>views.py</code>. (A very simplified version)</p>
  <pre><code>@ratelimit(key='ip', rate='1/5m', method=['GET', 'POST'])
  def rate_limit_func(request):
       if request.method == 'POST':
          return Response(status='200')
  </code></pre>
  <p>The rate limit is working as expected. But I cannot see any keys getting stored in the redis server</p>
  <pre><code>127.0.0.1:6379&gt; ping
  PONG
  127.0.0.1:6379&gt; get ip
  (nil)
  127.0.0.1:6379&gt; keys *
  (empty list or set)
  </code></pre>
  <p>I also tried searching the key using django shell</p>
  <pre><code>&gt;&gt;&gt; from django.core.cache import cache
  &gt;&gt;&gt; 'ip' in cache
  False
  
  </code></pre>
  <p>I am not sure if I have set this up correctly and it will work in production. Also, where are the cache values being set?</p>