view MoinMoin/_tests/wikiconfig_groups.py @ 4805:6a109416e2b2

Groups2009: cfg.config_groups was removed.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Thu, 11 Jun 2009 14:08:13 +0200
parents 3cea38408fe6
children 89497de6165d
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
from MoinMoin.groups.backends import wiki_group

class Config(LocalConfig):
    group_manager_init = lambda self, request: GroupManager(wiki_group.Backend(request))