python-wordpress-xmlrpc
python-wordpress-xmlrpc copied to clipboard
Question: how to enable comments in my posts?
All my posts made by using python-wordpress-xmlrpc library have their comments disabled. How can I enable it? WordPressPost class has the attribute comment_status, but is not documented what arguments it can receive.
Thanks!
You want to use a string with the value "open" or "closed".
Also, an example in the unit tests: https://github.com/maxcutler/python-wordpress-xmlrpc/blob/master/tests/test_posts.py#L43
I'll add some documentation for this in the next release.
Thanks!