Update main.py
parent
40a1bd3f75
commit
f93f503f16
5
main.py
5
main.py
|
@ -11,7 +11,10 @@ def index(username = None):
|
||||||
@app.route('/contact')
|
@app.route('/contact')
|
||||||
def contact():
|
def contact():
|
||||||
return "<h3>Book your first consultation:</h3> <p>Epasts: example@example.com</p>"
|
return "<h3>Book your first consultation:</h3> <p>Epasts: example@example.com</p>"
|
||||||
|
@app.route('/')
|
||||||
|
@app.route('/<mikrobiologija>')
|
||||||
|
def first_page():
|
||||||
|
return render_template("first_page.html")
|
||||||
@app.route('/login', methods=['GET', 'POST'])
|
@app.route('/login', methods=['GET', 'POST'])
|
||||||
def login():
|
def login():
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
|
Loading…
Reference in New Issue