site_cubicweb.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 19 Sep 2014 18:23:57 +0200
changeset 11639 f38ec5e29de3
parent 11636 2babe3694bed
child 11673 c3a583e38360
permissions -rw-r--r--
Watch for i18n files changes for auto-reload

from logilab.common.configuration import REQUIRED

import cubicweb.schema

cubicweb.schema.INTERNAL_TYPES.add('CWSession')

options = (
    ('pyramid-auth-secret', {
        'type': 'string',
        'default': REQUIRED,
        'help': 'Secret phrase to encrypt the authentication cookie',
        'group': 'pyramid',
        'level': 3
    }),
    ('pyramid-session-secret', {
        'type': 'string',
        'default': REQUIRED,
        'help': 'Secret phrase to sign the session cookie',
        'group': 'pyramid',
        'level': 3
    }),
)