示例#1
0
def AUBOOST_tutors(course,number):
    check_verify_user()
    client = current_user

    print Courses.getCourses()
    print Courses.getCourses()

    courses=Courses.getCourses()
    if(courses==None):
        courses=[]
    print courses
    users=Courses.getTutorsAccordingToCourse(course,number)



    return render_template('AUBOOST/AUBOOST.html', loggedIn=True, home_page=True,email=client.email,courses=courses,
                           users=users)
示例#2
0
def AUBOOST():
    check_verify_user()
    client = current_user

    courses=Courses.getCourses()
    if(courses==None):
        courses=[]

    users=[]



    return render_template('AUBOOST/AUBOOST.html', loggedIn=True, home_page=True,email=client.email,courses=courses,
                           users=users)