boardgame_site_v2/app.py

24 lines
499 B
Python
Raw Normal View History

from flask import Flask, render_template, request
2024-08-10 22:07:47 +02:00
app = Flask(__name__)
@app.get("/")
2024-08-11 12:07:16 +02:00
def get_owned():
return render_template('owned.jinja')
2024-08-10 22:07:47 +02:00
2024-08-11 12:07:16 +02:00
@app.get("/wishlist")
def get_wishlist():
return render_template('wishlist.jinja')
@app.get("/boardgame")
def get_boardgame():
2024-08-11 12:07:16 +02:00
return render_template('boardgame.jinja')
2024-08-11 23:04:30 +02:00
@app.get('/statistics')
def get_statistics():
2024-08-14 08:49:46 +02:00
return render_template('statistics.jinja')
@app.get('/plays')
def get_plays():
return render_template('plays.jinja')