Use dummy comments

This commit is contained in:
Andrew Croce 2018-09-21 14:32:07 -04:00
parent c1cf194f06
commit 8e7a692983

View File

@ -31,18 +31,16 @@ def render_approval(request, form=None):
internal_comment_form = InternalCommentForm(text=request.internal_comments_text)
# # Dummy internal comments
# comments = [{
# "time_created": date(2018, 9, 18),
# "full_name_commenter": "Darth Vader",
# "message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. "
# }, {
# "time_created": date(2018, 9, 20),
# "full_name_commenter": "Grand Moff Tarkin",
# "message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. "
# }]
comments = []
# Dummy internal comments
comments = [{
"time_created": date(2018, 9, 18),
"full_name_commenter": "Darth Vader",
"message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. "
}, {
"time_created": date(2018, 9, 20),
"full_name_commenter": "Grand Moff Tarkin",
"message": "We'll have no more of this Obi-Wan Kenobi jibberish...and don't talk to me about your mission, either. You're fortunate he doesn't blast you into a million pieces right here. "
}]
return render_template(
"requests/approval.html",