Initial for Waybill blueprint
This commit is contained in:
9
App/Waybill/__init__.py
Normal file
9
App/Waybill/__init__.py
Normal 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')
|
||||
Reference in New Issue
Block a user