Initial for Waybill blueprint

This commit is contained in:
2024-11-05 15:50:54 +03:00
parent b9a07fe533
commit d5f2322559
3 changed files with 21 additions and 0 deletions

9
App/Waybill/__init__.py Normal file
View File

@@ -0,0 +1,9 @@
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')