Merge authors:
Abhilash Raj (raj-abhilash1)
Related merge proposals:
https://code.launchpad.net/~raj-abhilash1/mailman.client/docs/+merge/249674
proposed by: Abhilash Raj (raj-abhilash1)
------------------------------------------------------------
revno: 61 [merge]
committer: Florian Fuchs <[email protected]>
branch nick: mailman.client
timestamp: Fri 2015-02-13 17:35:18 +0100
message:
Documentation: Added a note about using the correct port in testing and
production. (Given by Abhilash Raj)
modified:
src/mailmanclient/docs/using.rst
--
lp:mailman.client
https://code.launchpad.net/~mailman-coders/mailman.client/trunk
Your team Mailman Coders is subscribed to branch lp:mailman.client.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman.client/trunk/+edit-subscription
=== modified file 'src/mailmanclient/docs/using.rst'
--- src/mailmanclient/docs/using.rst 2015-01-04 22:43:40 +0000
+++ src/mailmanclient/docs/using.rst 2015-02-13 16:35:18 +0000
@@ -1,4 +1,4 @@
-===================
+j==================
Mailman REST client
===================
@@ -10,6 +10,11 @@
>>> from mailmanclient import Client
>>> client = Client('http://localhost:9001/3.0', 'restadmin', 'restpass')
+.. note::
+ Please note that port '9001' is used above, since mailman's test server
+ runs on port *9001*. In production Mailman's REST API usually listens on
+ port *8001*.
+
We can retrieve basic information about the server.
>>> dump(client.system)
_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders