log.warning → .info
This commit is contained in:
@@ -37,8 +37,8 @@ def comments_create():
|
|||||||
current_user.objectid, parent_id)
|
current_user.objectid, parent_id)
|
||||||
raise wz_exceptions.UnprocessableEntity()
|
raise wz_exceptions.UnprocessableEntity()
|
||||||
|
|
||||||
log.warning('Creating comment for user %s on parent node %r',
|
log.info('Creating comment for user %s on parent node %r',
|
||||||
current_user.objectid, parent_id)
|
current_user.objectid, parent_id)
|
||||||
|
|
||||||
comment_props = dict(
|
comment_props = dict(
|
||||||
project=parent_node.project,
|
project=parent_node.project,
|
||||||
@@ -209,7 +209,6 @@ def comments_for_node(node_id):
|
|||||||
nr_of_comments = sum(1 + comment['_replies']['_meta']['total']
|
nr_of_comments = sum(1 + comment['_replies']['_meta']['total']
|
||||||
for comment in comments['_items'])
|
for comment in comments['_items'])
|
||||||
|
|
||||||
# Data will be requested via javascript
|
|
||||||
return render_template('nodes/custom/comment/list_embed.html',
|
return render_template('nodes/custom/comment/list_embed.html',
|
||||||
node_id=node_id,
|
node_id=node_id,
|
||||||
comments=comments,
|
comments=comments,
|
||||||
|
Reference in New Issue
Block a user