From 1c753914b335b4391bc5847a87b7c52ca81c2bc6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 14 Jun 2014 11:12:56 -0400 Subject: - add some background on null --- dogpile/cache/backends/null.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dogpile/cache/backends/null.py b/dogpile/cache/backends/null.py index d5d50aa..c1f46a9 100644 --- a/dogpile/cache/backends/null.py +++ b/dogpile/cache/backends/null.py @@ -25,6 +25,18 @@ class NullLock(object): class NullBackend(CacheBackend): + """A "null" backend that effectively disables all cache operations. + + Basic usage:: + + from dogpile.cache import make_region + + region = make_region().configure( + 'dogpile.cache.null' + ) + + """ + def __init__(self, arguments): pass -- cgit v1.2.1