changeset 3749:b0d5f7f41d4b

split out session settings
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sun, 22 Jun 2008 00:58:06 +0200
parents dc917a577d38
children d5b786be06d7
files MoinMoin/config/multiconfig.py
diffstat 1 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sun Jun 22 00:36:25 2008 +0200
+++ b/MoinMoin/config/multiconfig.py	Sun Jun 22 00:58:06 2008 +0200
@@ -628,6 +628,16 @@
         self.value = eval(exprstr)
 
 options_no_group_name = {
+  'session': ('Session settings', None, (
+    ('session_handler', DefaultExpression('session.DefaultSessionHandler()'),
+     "See HelpOnSessions."),
+    ('session_id_handler', DefaultExpression('session.MoinCookieSessionIDHandler()'),
+     "Only used by the DefaultSessionHandler, see HelpOnSessions."),
+    ('cookie_domain', None, None),
+    ('cookie_path', None, None),
+    ('cookie_lifetime', 12, None),
+  )),
+
   'various': ('Various', None, (
     ('DesktopEdition',
      False,
@@ -656,10 +666,6 @@
 
     ('config_check_enabled', False, None),
 
-    ('cookie_domain', None, None),
-    ('cookie_path', None, None),
-    ('cookie_lifetime', 12, None),
-
     ('data_dir', './data/', None),
     ('data_underlay_dir', './underlay/', None),
 
@@ -838,9 +844,6 @@
 
     ('search_results_per_page', 25, None),
 
-    ('session_handler', session.DefaultSessionHandler(), None),
-    ('session_id_handler', session.MoinCookieSessionIDHandler(), None),
-
     ('shared_intermap', None, None),
 
     ('show_hosts', True, None),