view MoinMoin/_tests/wikiconfig_groups.py @ 4825:8db07c73e972

Groups2009: The datastruct.dicts module is refactored to be similar to the groups module. The events.wikidictsrescan was removed.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Fri, 26 Jun 2009 20:06:12 +0200
parents e5ef9d9f9eaa
children 069aac5ce3e4
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
MoinMoin.groups related configuration is defined here.

@copyright: 2009 by MoinMoin:DmitrijsMilajevs
@license: GNU GPL, see COPYING for details.
"""

from wikiconfig import LocalConfig
from MoinMoin.groups import WikiGroups
from MoinMoin.datastruct.dicts import WikiDicts

class Config(LocalConfig):
    group_manager_init = lambda self, request: WikiGroups(request)
    dict_manager_init = lambda self, request: WikiDicts(request)