@home.route('/export_package_2/<package_name>/<path:download_url>', methods=['GET', 'POST'])
@login_required
def export_package_2(package_name, download_url):
    if ((request.method == 'POST') and (BTN_CANCEL in request.form)):
        return redirect(get_back_url())
    reload_metadata()
    return render_template('export_package_2.html', back_url=get_back_url(), title='Export Data Package', package_name=package_name, download_url=download_url)
@home.route('/export_package_2/<package_name>/<path:download_url>', methods=['GET', 'POST'])
@login_required
def export_package_2(package_name, download_url):
    if ((request.method == 'POST') and (BTN_CANCEL in request.form)):
        return redirect(get_back_url())
    reload_metadata()
    return render_template('export_package_2.html', back_url=get_back_url(), title='Export Data Package', package_name=package_name, download_url=download_url)