Added a whole lot of views.
Finished quiz API views Finished question generator and answer eval
This commit is contained in:
12
ref-test/app/views.py
Normal file
12
ref-test/app/views.py
Normal 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')
|
Reference in New Issue
Block a user