Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/g/e/Geraldo-0.4.17/geraldo/base.py   Geraldo(Download)
from exceptions import EmptyQueryset, ObjectNotFound, ManyObjectsFound,\
        AttributeNotFound, NotYetImplemented
from cache import DEFAULT_CACHE_STATUS, CACHE_BACKEND, CACHE_FILE_ROOT
 
class GeraldoObject(object):
            self.cache_status = DEFAULT_CACHE_STATUS
        if self.cache_backend is None:
            self.cache_backend = CACHE_BACKEND
        if self.cache_prefix is None:
            self.cache_prefix = '-'.join([self.__class__.__module__, self.__class__.__name__])

src/g/e/geraldo-HEAD/geraldo/base.py   geraldo(Download)
from exceptions import EmptyQueryset, ObjectNotFound, ManyObjectsFound,\
        AttributeNotFound, NotYetImplemented
from cache import DEFAULT_CACHE_STATUS, CACHE_BACKEND, CACHE_FILE_ROOT
 
class GeraldoObject(object):
            self.cache_status = DEFAULT_CACHE_STATUS
        if self.cache_backend is None:
            self.cache_backend = CACHE_BACKEND
        if self.cache_prefix is None:
            self.cache_prefix = '-'.join([self.__class__.__module__, self.__class__.__name__])