From 2a05b19bab357c337824ca9faaff0da147e7cd96 Mon Sep 17 00:00:00 2001 From: souliane Date: Mon, 22 Feb 2016 13:44:14 +0100 Subject: [PATCH] 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 --- frontends/src/quick_frontend/quick_blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/src/quick_frontend/quick_blog.py b/frontends/src/quick_frontend/quick_blog.py index df112f92..2eb2457c 100644 --- a/frontends/src/quick_frontend/quick_blog.py +++ b/frontends/src/quick_frontend/quick_blog.py @@ -249,7 +249,7 @@ class Entry(EntriesManager): # 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: