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].
For more options, visit https://groups.google.com/d/optout.