web/webconfig.py
changeset 2552 1ea2f2ff5dca
parent 2476 1294a6bdf3bf
child 2657 de974465d381
equal deleted inserted replaced
2513:497e5807db41 2552:1ea2f2ff5dca
   141         ('cleanup-anonymous-session-time',
   141         ('cleanup-anonymous-session-time',
   142          {'type' : 'int',
   142          {'type' : 'int',
   143           'default': 120,
   143           'default': 120,
   144           'help': 'Same as cleanup-session-time but specific to anonymous '\
   144           'help': 'Same as cleanup-session-time but specific to anonymous '\
   145           'sessions. Default to 2 min.',
   145           'sessions. Default to 2 min.',
       
   146           'group': 'web', 'inputlevel': 2,
       
   147           }),
       
   148         ('force-html-content-type',
       
   149          {'type' : 'yn',
       
   150           'default': False,
       
   151           'help': 'force text/html content type for your html pages instead of cubicweb user-agent based'\
       
   152           'deduction of an appropriate content type',
   146           'group': 'web', 'inputlevel': 2,
   153           'group': 'web', 'inputlevel': 2,
   147           }),
   154           }),
   148         ('embed-allowed',
   155         ('embed-allowed',
   149          {'type' : 'regexp',
   156          {'type' : 'regexp',
   150           'default': None,
   157           'default': None,