view MoinMoin/_tests/wikiconfig_groups.py @ 4781:cee722c2097c

Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Wed, 03 Jun 2009 12:10:14 +0200
parents
children
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 GroupManager


class Config(LocalConfig):
    group_manager_init = lambda self, request: GroupManager([])