def staff(): """ All Staff. """ # Select all of the staff members. all_staff = select_users_by_role('STA') # Render the template passing in the staff members. return render_template( 'student/staff.html', staff=all_staff)
def tutors(): """ All Tutors. """ # Select all of the tutors from the database. all_tutors = select_users_by_role('TUT') # Render the tutors template, passing in the tutors. return render_template( 'student/tutors.html', tutors=all_tutors )