viveksantayana
43b5973dbe
Basic CRUD operations for managing registered admin users Encrypted personal information Still missing sections on managing tests and results Also missing dashboards/index/category landing pages
15 lines
342 B
Python
15 lines
342 B
Python
from flask import Blueprint, render_template
|
|
from .views import login_required, admin_account_required
|
|
|
|
results = Blueprint(
|
|
'results',
|
|
__name__,
|
|
template_folder='templates',
|
|
static_folder='static'
|
|
)
|
|
|
|
@results.route('/')
|
|
@admin_account_required
|
|
@login_required
|
|
def _results():
|
|
return render_template('/admin/results.html') |