Beispiel #1
0
def profile():
	data = {
			'database':g.db}
	courseList = 'false'
	if query.courseExists(data):
		courseList = query.getCourseList(data)
	return render_template('profile.html', courseList=courseList)
Beispiel #2
0
def delete_course():
	data = {
			'database':g.db}
	courseList = query.getCourseList(data)
	return render_template('delete_course.html', courseList=courseList)