@app.route('/lti.xml', methods=['GET'])
def xml():
    '\n    Returns the lti.xml file for the app.\n    '
    from urllib.parse import urlparse
    domain = urlparse(request.url_root).netloc
    return Response(render_template('lti.xml', tool_id=config.LTI_TOOL_ID, domain=domain), mimetype='application/xml')
Returns the lti.xml file for the app.
@app.route('/lti.xml', methods=['GET'])
def xml():
    '\n    \n    '
    from urllib.parse import urlparse
    domain = urlparse(request.url_root).netloc
    return Response(render_template('lti.xml', tool_id=config.LTI_TOOL_ID, domain=domain), mimetype='application/xml')