Yah that works! I also found for memcache I needed a backend of django.core.cache.backends.memcached.MemcachedCache
whereas before I think we were using CacheClass (could be mis-remembering) Anyway yes I can test a patch in test server although it may be later tonight before I can install and check it out, -amac On Tuesday, October 21, 2014 1:11:02 PM UTC-7, [email protected] wrote: > > Okay, I found the problem. > > Temporary solution is to set the CACHES in settings_local.py to that whole > {'default': ...} dictionary. > > If you have a test server you're willing to try a couple patches on, I can > send you something soon. > > Christian > > -- > Christian Hammond - [email protected] <javascript:> > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbaginc.com > > -----Original Message----- > From: Andrew MacLeod <[email protected] <javascript:>> > Reply: [email protected] <javascript:> <[email protected] > <javascript:>>> > Date: October 21, 2014 at 12:24:30 PM > To: [email protected] <javascript:> <[email protected] > <javascript:>>> > Cc: [email protected] <javascript:> <[email protected] <javascript:>>>, > [email protected] <javascript:> <[email protected] <javascript:>>> > > Subject: Re: Caching not working with 2.0.8 > > > Here is that information as well (I added the spacing to make a bit more > > readable): > > > > >>> from djblets.siteconfig.models import SiteConfiguration > > > > >>> from djblets.cache.backend_compat import normalize_cache_backend > > > > >>> siteconfig = SiteConfiguration.objects.get_current() > > > > >>> print siteconfig.get('cache_backend') > > {u'default': {u'LOCATION': u'/export/content/reviewboard/cache', > > u'BACKEND': u'django.core.cache.backends.filebased.FileBasedCache'}} > > > > >>> print normalize_cache_backend(siteconfig.get('cache_backend')) > > {u'LOCATION': u'/export/content/reviewboard/cache', u'BACKEND': > > u'django.core.cache.backends.filebased.FileBasedCache'} > > > > Thanks, > > > > -amac > > > > > > > > On Tuesday, October 21, 2014 12:14:57 PM UTC-7, [email protected] > > wrote: > > > > > > One more thing for now (formatted for easier copy/paste): > > > > > > $ rb-site manage /path/to/site shell > > > > > > from djblets.siteconfig.models import SiteConfiguration > > > from djblets.cache.backend_compat import normalize_cache_backend > > > siteconfig = SiteConfiguration.objects.get_current() > > > print siteconfig.get('cache_backend') > > > print normalize_cache_backend(siteconfig.get('cache_backend')) > > > > > > - Christian > > > > > > -- > > > > > > > > > > -- > > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > > --- > > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > > --- > > Happy user? Let us know at http://www.reviewboard.org/users/ > > --- > > You received this message because you are subscribed to the Google > Groups "reviewboard" > > group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
