Storage config snippet

# This provides a simple default setup for your backend configuration.
# 'fs:' indicates that you want to use the filesystem backend. You can also use
# 'hg:' instead to indicate that you want to use the mercurial backend.
# Alternatively you can set up the mapping yourself (see HelpOnStorageConfiguration).
namespace_mapping, router_index_uri = create_simple_mapping(
                        backend_uri='fs2:%s/%%(nsname)s' % data_dir,
                        # XXX we use rather relaxed ACLs for the development wiki:
                        content_acl=dict(before=u'',
                                         default=u'All:read,write,create,destroy,admin',
                                         after=u'', ),
                        user_profile_acl=dict(before=u'',
                                         default=u'All:read,write,create,destroy,admin',
                                         after=u'', ),
                        )

MoinMoin: ReimarBauer/PyConDELeipzig/Storage/Config (last edited 2011-09-22 16:19:21 by ReimarBauer)