Пример #1
0
def saveprofile():
    checkstudentvalidlogin()
    obj_student=Student()
    obj_student.createstudent(request.vars)
    #obj_student.getstudentbasicdetails("*****@*****.**",db)
    obj_student.updatestudent(session.emailid,db)
    obj_academicdetails=Academicdetails()
    obj_academicdetails.createacademicdetails(request.vars)
    obj_academicdetails.updateacademicdetails(session.emailid,db)
 
    return dict()
Пример #2
0
def addstudent_basicdetails():
    obj=Student()
    obj.createstudent(request.vars)
    obj.insertstudent(db)
    return dict()