view MoinMoin/_tests/wikiconfig_groups.py @ 4830:069aac5ce3e4

Groups2009: groups are moved to datastruct.groups.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sat, 27 Jun 2009 14:10:23 +0200
parents 8db07c73e972
children f83b7b0b59c4
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.datastruct.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)