view MoinMoin/_tests/wikiconfig_groups.py @ 4812:a1018d829c3e

Groups2009: It is possible to import backends as 'from Moin.groups import WikiGroups, ConfigGroups, CompositeGroups'. Compose backend was renamed to Composite.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sun, 14 Jun 2009 17:23:58 +0200
parents 89497de6165d
children e5ef9d9f9eaa
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

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