Mercurial > libervia-web
changeset 1495:081b4f8a63d8
pages (blog/edit): allow comments when editing a post
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 May 2022 22:45:11 +0200 |
parents | 1671d187e71d |
children | b0d02dd25c2a |
files | libervia/pages/blog/edit/page_meta.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/pages/blog/edit/page_meta.py Sat May 14 22:44:15 2022 +0200 +++ b/libervia/pages/blog/edit/page_meta.py Sat May 14 22:45:11 2022 +0200 @@ -17,7 +17,7 @@ self.pageError(request, C.HTTP_FORBIDDEN) request_data = self.getRData(request) title, tags, body = self.getPostedData(request, ('title', 'tags', 'body')) - mb_data = {"content_rich": body} + mb_data = {"content_rich": body, "allow_comments": True} title = title.strip() if title: mb_data["title_rich"] = title