22 Aug
2018
22 Aug
'18
11:33 a.m.
On 8/22/18 10:27 AM, Alexander Klotz wrote:
Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
What do you mean it isn't saved? Are you getting an error? Is it just being overwritten to True?
I use the rest api, using it you can do the following:
./manage.py mmclient
lists = client.lists
l = <choose your list>
l.settings['advertised'] = False
l.settings.save()