summaryrefslogtreecommitdiffstats
path: root/askbot/management/commands/askbot_add_test_content.py
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/management/commands/askbot_add_test_content.py')
-rw-r--r--askbot/management/commands/askbot_add_test_content.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/askbot/management/commands/askbot_add_test_content.py b/askbot/management/commands/askbot_add_test_content.py
index 86d66719..6fc2b8da 100644
--- a/askbot/management/commands/askbot_add_test_content.py
+++ b/askbot/management/commands/askbot_add_test_content.py
@@ -220,14 +220,14 @@ class Command(NoArgsCommand):
)
self.print_if_verbose("User has edited the active answer")
- active_answer_comment.user.edit_comment(
- comment = active_answer_comment,
+ active_answer_comment.author.edit_comment(
+ comment_post = active_answer_comment,
body_text = ANSWER_TEMPLATE
)
self.print_if_verbose("User has edited the active answer comment")
- active_question_comment.user.edit_comment(
- comment = active_question_comment,
+ active_question_comment.author.edit_comment(
+ comment_post = active_question_comment,
body_text = ANSWER_TEMPLATE
)
self.print_if_verbose("User has edited the active question comment")