  class CacheClass(BaseCache):
      def __init__(self, *args, **kwargs):
          pass
  
      def get(self, key, default=None):
          return default
  
      def set(self, *args, **kwargs):
 
</s>
    def add(self, *args, **kwargs):
        pass

  class CacheClass(BaseCache):
      def __init__(self, *args, **kwargs):
          pass
  
    def add(self, *args, **kwargs):
        pass

      def get(self, key, default=None):
          return default
  
      def set(self, *args, **kwargs):
keep keep keep add keep keep keep keep
 Fixed #4831 -- Added an "add" cache key method, for parity with memcached's
API. This works for all cache backends. Patch from Matt McClanahan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/core/cache/backends/dummy.py