def re_render_content_for_management_command(message):
 assert Message.need_to_render_content(message.rendered_content, message.rendered_content_version, bugdown.version)
 rendered_content = render_markdown(message, message.content)
 message.rendered_content = rendered_content
 message.rendered_content_version = bugdown.version
 message.save_rendered_content()

def re_render_content_for_management_command ( message ) : assert Message . need_to_render_content ( message . rendered_content , message . rendered_content_version , bugdown . version ) rendered_content = render_markdown ( message , message . content ) message . rendered_content = rendered_content message . rendered_content_version = bugdown . version message . save_rendered_content ( )
please avoid using this function .