mirror of
https://github.com/yweber/lodel2.git
synced 2026-01-15 19:22:14 +01:00
13 lines
362 B
Python
13 lines
362 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from lodel.context import LodelContext
|
|
LodelContext.expose_modules(globals(), {
|
|
'lodel.validator.validator': ['Validator']})
|
|
|
|
CONFSPEC = {
|
|
'lodel2.sessions':{
|
|
'directory': ('/tmp/', Validator('path')),
|
|
'expiration': (900, Validator('int')),
|
|
'file_template': ('lodel2_%s.sess', Validator('dummy'))
|
|
}
|
|
}
|