Add dogpile dependency and configuration to nuancier

This commit is contained in:
Pierre-Yves Chibon 2013-09-30 13:12:04 +00:00
parent 55d12dc69b
commit 978f481d55
2 changed files with 9 additions and 0 deletions

View file

@ -13,6 +13,7 @@
- python-psycopg2
- python-openid-cla
- python-openid-teams
- python-memcached
tags:
- packages

View file

@ -43,4 +43,12 @@ CACHE_FOLDER = os.path.join(STATIC_FOLDER, 'cache')
### length or width of the picture fit the length and width specified below.
THUMB_SIZE = (256, 256)
# This is required to fix login in stg
PREFERRED_URL_SCHEME='https'
# dogpile.cache configuration to work with memcached
NUANCIER_CACHE_BACKEND = 'dogpile.cache.memcached'
NUANCIER_CACHE_KWARGS = {'arguments' : {
'url': "127.0.0.1:11211",
}
}