# HG changeset patch # User souliane # Date 1456145054 -3600 # Node ID a754d638155088c4f59f7575647cd8d18d8fc5aa # Parent 446a1539c207d8a07cc9e2f0aaa986f1bb2dc166 quick_frontend (blog): correction for the previous patch: - "comments_node" and "comments_service" are not needed when "comments" is already here - to set "allow_comments" to True when updating a main item was enough diff -r 446a1539c207 -r a754d6381550 frontends/src/quick_frontend/quick_blog.py --- a/frontends/src/quick_frontend/quick_blog.py Mon Feb 22 13:15:02 2016 +0100 +++ b/frontends/src/quick_frontend/quick_blog.py Mon Feb 22 13:44:14 2016 +0100 @@ -249,7 +249,7 @@ # keys to keep other than content*, title* and tag* # FIXME: see how to avoid comments node hijacking (someone could bind his post to another post's comments node) - keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published', 'comments_node', 'comments_service') + keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published') mb_data = {} for key in keys_to_keep: