ska-referee-test/ref-test/app/quiz/views/__init__.py
2022-06-11 02:39:47 +01:00

29 lines
499 B
Python

from flask import Blueprint
quiz = Blueprint(
name='quiz',
import_name=__name__,
template_folder='templates',
static_folder='static'
)
@quiz.route('/')
@quiz.route('/home/')
def _home():
return 'Quiz Home Page'
@quiz.route('/instructions/')
def _instructions():
return 'Instructions'
@quiz.route('/start/')
def _start():
return 'Start Quiz'
@quiz.route('/quiz/')
def _quiz():
return 'Quiz Console'
@quiz.route('/result/')
def _result():
return 'Quiz Result'