view MoinMoin/_tests/wikiconfig_groups.py @ 4832:f83b7b0b59c4

Groups2009: groups and dicts were merged inside of the datastruct module.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Fri, 03 Jul 2009 16:36:47 +0100
parents 069aac5ce3e4
children 8be26b0ebc96
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 import WikiGroups
from MoinMoin.datastruct import WikiDicts

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