Added a whole lot of views.

Finished quiz API views
Finished question generator and answer eval
This commit is contained in:
2022-06-14 22:55:11 +01:00
parent a58f267586
commit 126bf9203c
15 changed files with 421 additions and 35 deletions

12
ref-test/app/views.py Normal file
View File

@@ -0,0 +1,12 @@
from flask import Blueprint, render_template
views = Blueprint(
name='common',
import_name=__name__,
template_folder='templates',
static_folder='static'
)
@views.route('/privacy/')
def _privacy():
return render_template('privacy.html')