first working flask prototype

This commit is contained in:
2022-07-16 14:09:27 +02:00
parent 16bea0bd22
commit 499c916e3f
7 changed files with 227 additions and 0 deletions

10
beertap/views.py Normal file
View File

@@ -0,0 +1,10 @@
import json
from flask import Blueprint, render_template, request, flash, jsonify
views = Blueprint('views', __name__)
@views.route('/', methods=['GET', 'POST'])
def beer_tap():
print("main")
return render_template('beertap.html')