2017-10-25 redis django redis cache delete pattern Example use of delete_pattern 12>>> from django.core.cache import cache>>> cache.delete_pattern("foo_*") Simple search keys by pattern 123>>> from django.core.cache import cache>>> cache.keys("foo_*")["foo_1", "foo_2"] django-redis Newer django transform queryset to dict Older django pagination demo