changeset 448:3d3230f84e5f

update docs: create_simple_mapping only returns 1 value
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 18 Aug 2011 18:02:51 +0200
parents 16bd4f3dbab8
children dfa71b20022c
files docs/admin/configure.rst docs/admin/upgrade.rst
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/docs/admin/configure.rst	Thu Aug 18 18:00:12 2011 +0200
+++ b/docs/admin/configure.rst	Thu Aug 18 18:02:51 2011 +0200
@@ -941,7 +941,7 @@
 
     from MoinMoin.storage.backends import create_simple_mapping
 
-    namespace_mapping, router_index_uri = create_simple_mapping(
+    namespace_mapping = create_simple_mapping(
         backend_uri=...,
         content_acl=dict(before=...,
                          default=...,
@@ -1020,7 +1020,7 @@
     from MoinMoin.storage.backends import create_simple_mapping
 
     data_dir = '/srv/mywiki/data'
-    namespace_mapping, router_index_uri = create_simple_mapping(
+    namespace_mapping = create_simple_mapping(
         backend_uri='fs2:%s/%%(nsname)s' % data_dir,
         content_acl=dict(before=u'WikiAdmin:read,write,create,destroy',
                          default=u'All:read,write,create',
--- a/docs/admin/upgrade.rst	Thu Aug 18 18:00:12 2011 +0200
+++ b/docs/admin/upgrade.rst	Thu Aug 18 18:02:51 2011 +0200
@@ -67,7 +67,7 @@
     # XXX default_markup must be 'wiki' right now
     page_category_regex = ... # XXX check
     data_dir = ... # same as in 1.9, user profiles must be in data_dir/user
-    namespace_mapping, router_index_uri = \
+    namespace_mapping = \
         create_simple_mapping(
             backend_uri='fs19:%s' % data_dir,
             content_acl=dict(before=u'', # acl_rights_before in 1.9