11 lines
396 B
Python
11 lines
396 B
Python
from flask import request, Blueprint, render_template, session, current_app, redirect, url_for
|
|
from checker import check_auth
|
|
waybill_bp = Blueprint('waybill_bp', __name__, template_folder='templates')
|
|
|
|
@waybill_bp.route('/', methods=['GET', 'POST'])
|
|
@check_auth
|
|
def waybill():
|
|
if request.method == 'GET':
|
|
return render_template('waybill.html')
|
|
print(request.form)
|
|
return 'OK' |