From 164a4e11fc0e0d4fb7cbf5d533cd464a73638e97 Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Sat, 11 Feb 2012 00:15:58 -0500 Subject: [PATCH] Some documentation --- imagekit/cachestate/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/imagekit/cachestate/__init__.py b/imagekit/cachestate/__init__.py index 779e229..f5a01d8 100644 --- a/imagekit/cachestate/__init__.py +++ b/imagekit/cachestate/__init__.py @@ -3,6 +3,11 @@ from django.utils.importlib import import_module class PessimisticCacheStateBackend(object): + """ + A very safe cache state backend. Guarantees that files will always be + available, but at the cost of hitting the storage backend. + + """ def is_invalid(self, file): if not getattr(file, '_file', None):