Add dogpile dependency and configuration to nuancier
This commit is contained in:
parent
55d12dc69b
commit
978f481d55
2 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
- python-psycopg2
|
||||
- python-openid-cla
|
||||
- python-openid-teams
|
||||
- python-memcached
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue