chore: IssueComment fix backpopulate data
This commit is contained in:
parent
bef166a65f
commit
95097bfbf2
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ def update_comments():
|
||||||
issue_comment.comment_html = f"<p>{issue_comment.comment_stripped}</p>"
|
issue_comment.comment_html = f"<p>{issue_comment.comment_stripped}</p>"
|
||||||
updated_issue_comments.append(issue_comment)
|
updated_issue_comments.append(issue_comment)
|
||||||
|
|
||||||
Issue.objects.bulk_update(
|
IssueComment.objects.bulk_update(
|
||||||
updated_issue_comments, ["comment_html"], batch_size=100
|
updated_issue_comments, ["comment_html"], batch_size=100
|
||||||
)
|
)
|
||||||
print("Success")
|
print("Success")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue