nopaque/app/blueprints/workshops/routes.py

16 lines
345 B
Python
Raw Normal View History

from flask import redirect, render_template, url_for
2023-07-25 13:18:57 +00:00
from . import bp
@bp.route('')
def workshops():
return redirect(url_for('main.dashboard'))
2023-07-25 13:18:57 +00:00
@bp.route('/fgho_sommerschule_2023')
def fgho_sommerschule_2023():
2023-07-25 13:18:57 +00:00
return render_template(
'workshops/fgho_sommerschule_2023.html.j2',
title='FGHO Sommerschule 2023',
)