--On Friday, March 13, 2020 9:41 AM -0700 Abhilash Raj <maxking@asynchronous.in> wrote:
dump_json is a documentation helper method which doesn't do much except calling the URL and dumping the returned json in a pretty-printed fashion.
https://mailman.readthedocs.io/en/latest/src/mailman/docs/documentation.h tml
The point is more that the documentation at this URL:
<https://mailman.readthedocs.io/en/latest/src/mailman/model/docs/usermanager....>
makes repeated use of the dump_list function, and while it shows you a variety of bits to import, it doesn't include the bits necessary to make use of dump_list, so if one is going off the documentation, all they get is errors.
But really, the documentation needs to be updated further to point out the the Django ADMIN INTERFACE as the best way to do user management, and not the python shell.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: <http://www.symas.com>