Commits

Mike Bayer committed 9f186db

- changelog for #40
- add version info to docstring for is_configured

  • Participants
  • Parent commits 00dbd18

Comments (0)

Files changed (2)

docs/build/changelog.rst

     :version: 0.5.1
 
     .. change::
+        :tags: feature
+        :tickets: 40
+
+      New dogpile-specific exception classes have been added, so that
+      issues like "region already configured", "region unconfigured",
+      raise dogpile-specific exceptions.  Other exception classes have
+      been made more specific.  Also added new accessor
+      :attr:`.CacheRegion.is_configured`. Pullreq courtesy Morgan Fainberg.
+
+    .. change::
         :tags: bug
 
       Erroneously missed when the same change was made for ``set()``

dogpile/cache/region.py

 
     @property
     def is_configured(self):
-        """Public property that reports if the backend has been configured."""
+        """Return True if the backend has been configured via the
+        :meth:`.CacheRegion.configure` method already.
+
+        .. versionadded:: 0.5.1
+
+        """
         return 'backend' in self.__dict__
 
     def get(self, key, expiration_time=None, ignore_expiration=False):