diff MoinMoin/config/multiconfig.py @ 4863:69073f6b028a

Groups2009: Dicts and groups values are defined in the config.multiconfig. _tests.wikiconfig_groups was removed.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sat, 18 Jul 2009 18:58:03 +0200
parents ebe54f59e87c
children eabd8725c940
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sat Jul 18 18:14:45 2009 +0200
+++ b/MoinMoin/config/multiconfig.py	Sat Jul 18 18:58:03 2009 +0200
@@ -17,6 +17,7 @@
 logging = log.getLogger(__name__)
 
 from MoinMoin import config, error, util, wikiutil, web
+from MoinMoin import datastruct
 from MoinMoin.auth import MoinAuth
 import MoinMoin.auth as authmodule
 import MoinMoin.events as events
@@ -698,6 +699,13 @@
 #
 options_no_group_name = {
   # ==========================================================================
+  'datastruct': ('Datastruct settings', None, (
+    ('dicts', lambda self, request: datastruct.WikiDicts(request),
+     "function f(self, request) that returns a backend which is used to access dicts definitions. See HelpOnDictionaries."),
+    ('groups', lambda self, request: datastruct.WikiGroups(request),
+     "function f(self, request) that returns a backend which is used to access groups definitions."),
+  )),
+  # ==========================================================================
   'session': ('Session settings', "Session-related settings, see HelpOnSessions.", (
     ('session_service', DefaultExpression('web.session.FileSessionService()'),
      "The session service."),