From 1f89b1579262a8a1c8dbc5cd0354b350bd276086 Mon Sep 17 00:00:00 2001 From: Manuel Miranda Date: Mon, 23 Jan 2017 17:19:42 +0100 Subject: [PATCH] Caching example (#334) * Caching example using aiocache * Caching example using aiocache * Added aiocache to requirements * Fixed example with newest aiocache * Fixed bug in cache example --- examples/cache_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cache_example.py b/examples/cache_example.py index 60823366..50a6fe85 100644 --- a/examples/cache_example.py +++ b/examples/cache_example.py @@ -21,7 +21,7 @@ from aiocache.serializers import JsonSerializer app = Sanic(__name__) aiocache.settings.set_defaults( - cache="aiocache.RedisCache" + class_="aiocache.RedisCache" )