first working flask prototype
This commit is contained in:
10
beertap/views.py
Normal file
10
beertap/views.py
Normal 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')
|
||||
Reference in New Issue
Block a user