From 17fa7ac10ddd6ca0916cdcdd3a5e8c1414e9bcbc Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Mon, 6 Apr 2015 03:58:22 +0530 Subject: * implement left over methods * add and remove owners using the address --- src/mailman/model/docs/domains.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mailman/model/docs') 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']) @@ -67,13 +67,13 @@ Domains can have explicit descriptions. -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. -- cgit v1.3.1