          self.perform_cull_test(50, 18)
  
  
  class DBCacheRouter(object):
      """A router that puts the cache table on the 'other' database."""
  
      def db_for_read(self, model, **hints):
          if model._meta.app_label == 'django_cache':
              return 'other'
 
</s> remove class DBCacheTests(unittest.TestCase, BaseCacheTests):
 </s> add class DBCacheTests(BaseCacheTests, TestCase):
DBCacheWithTimeZoneTests = override_settings(USE_TZ=True)(DBCacheTests)


          self.perform_cull_test(50, 18)
  
  
DBCacheWithTimeZoneTests = override_settings(USE_TZ=True)(DBCacheTests)


  class DBCacheRouter(object):
      """A router that puts the cache table on the 'other' database."""
  
      def db_for_read(self, model, **hints):
          if model._meta.app_label == 'django_cache':
              return 'other'
keep keep add keep keep keep keep keep keep
 Made the database cache backend, which bypasses the ORM, compatible with time zone support.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@17119 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/regressiontests/cache/tests.py