summaryrefslogtreecommitdiff
path: root/src/mailman/model/docs/domains.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/docs/domains.rst')
-rw-r--r--src/mailman/model/docs/domains.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/model/docs/domains.rst b/src/mailman/model/docs/domains.rst
index dd0904f2b..ded52f817 100644
--- a/src/mailman/model/docs/domains.rst
+++ b/src/mailman/model/docs/domains.rst
@@ -58,7 +58,7 @@ Domains can have explicit descriptions.
... 'example.net',
... base_url='http://lists.example.net',
... description='The example domain',
- ... owner=user)
+ ... owners=['user@domain.com'])
<Domain example.net, The example domain,
base_url: http://lists.example.net>
@@ -67,13 +67,13 @@ Domains can have explicit descriptions.
<Domain example.net, The example domain,
base_url: http://lists.example.net>
-Domains can have multiple number of owners, ideally one of the owners
-should have a verified preferred address. However this is not checked
-right now and contact_address from config is used as a fallback.
+Domains can have multiple owners, ideally one of the owners should have a
+verified preferred address. However this is not checked right now and
+contact_address from config can be used as a fallback.
::
>>> net_domain = manager['example.net']
- >>> net_domain.add_owner(user_manager.get_user('test@example.org'))
+ >>> net_domain.add_owner('test@example.org')
Domains can list all associated mailing lists with the mailing_lists property.