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

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

src/d/j/django-cachebot-0.4.1/cachebot/queryset.py   django-cachebot(Download)
        tables in CACHEBOT_TABLE_BLACKLIST
        """
        _cache_query = self.model._meta.db_table not in conf.CACHEBOT_TABLE_BLACKLIST
        return self._clone(setup=True, _cache_query=_cache_query, _flush_fields=flush_fields)
 

src/d/j/django-cachebot-HEAD/cachebot/queryset.py   django-cachebot(Download)
        tables in CACHEBOT_TABLE_BLACKLIST
        """
        _cache_query = self.model._meta.db_table not in conf.CACHEBOT_TABLE_BLACKLIST
        return self._clone(setup=True, _cache_query=_cache_query, _flush_fields=flush_fields)
 

src/d/j/django-cachebot-HEAD/cachebot/tests/no_cache_tests.py   django-cachebot(Download)
    def setUp(self):
        BaseTestCase.setUp(self)
        self.obj = FirstModel.objects.create(text="test")
        self.func = FirstModel.objects.get
        self._CACHEBOT_TABLE_BLACKLIST = conf.CACHEBOT_TABLE_BLACKLIST
        conf.CACHEBOT_TABLE_BLACKLIST += (FirstModel._meta.db_table,)

src/d/j/django-cachebot-0.4.1/cachebot/tests/no_cache_tests.py   django-cachebot(Download)
    def setUp(self):
        BaseTestCase.setUp(self)
        self.obj = FirstModel.objects.create(text="test")
        self.func = FirstModel.objects.get
        self._CACHEBOT_TABLE_BLACKLIST = conf.CACHEBOT_TABLE_BLACKLIST
        conf.CACHEBOT_TABLE_BLACKLIST += (FirstModel._meta.db_table,)