annotate MoinMoin/_tests/wikiconfig_groups.py @ 4825:8db07c73e972

Groups2009: The datastruct.dicts module is refactored to be similar to the groups module. The events.wikidictsrescan was removed.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Fri, 26 Jun 2009 20:06:12 +0200
parents e5ef9d9f9eaa
children 069aac5ce3e4
rev   line source
4788
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
1 # -*- coding: iso-8859-1 -*-
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
2 """
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
3 MoinMoin.groups related configuration is defined here.
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
4
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
5 @copyright: 2009 by MoinMoin:DmitrijsMilajevs
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
6 @license: GNU GPL, see COPYING for details.
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
7 """
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
8
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
9 from wikiconfig import LocalConfig
4812
a1018d829c3e Groups2009: It is possible to import backends as 'from Moin.groups import WikiGroups, ConfigGroups, CompositeGroups'. Compose backend was renamed to Composite.
Dmitrijs Milajevs <dimazest@gmail.com>
parents: 4811
diff changeset
10 from MoinMoin.groups import WikiGroups
4824
e5ef9d9f9eaa Groups2009: wikidicts was moved to the datastruct.dicts.backends.wiki_dicts module.
Dmitrijs Milajevs <dimazest@gmail.com>
parents: 4812
diff changeset
11 from MoinMoin.datastruct.dicts import WikiDicts
4788
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
12
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
13 class Config(LocalConfig):
4812
a1018d829c3e Groups2009: It is possible to import backends as 'from Moin.groups import WikiGroups, ConfigGroups, CompositeGroups'. Compose backend was renamed to Composite.
Dmitrijs Milajevs <dimazest@gmail.com>
parents: 4811
diff changeset
14 group_manager_init = lambda self, request: WikiGroups(request)
4825
8db07c73e972 Groups2009: The datastruct.dicts module is refactored to be similar to the groups module. The events.wikidictsrescan was removed.
Dmitrijs Milajevs <dimazest@gmail.com>
parents: 4824
diff changeset
15 dict_manager_init = lambda self, request: WikiDicts(request)
4788
1ff6498db9ec Groups2009: wikiconfig_groups.py is used for the groups-related configuration instead of altering wikiconfig.py in _tests. wiki_group backend is used by default to access group definitions.
Dmitrijs Milajevs <dimazest@gmail.com>
parents:
diff changeset
16