def updateprofile(): checkcompanyvalidlogin() obj_company=Company() #obj_student.getstudentbasicdetails("*****@*****.**",db) print "update profile",session.emailid obj_company.getcompanybasicdetails(session.emailid,db) return dict(companydetails=obj_company)
def home(): checkcompanyvalidlogin() obj_comapny=Company() #obj_student.getstudentbasicdetails("*****@*****.**",db) obj_comapny.getcompanybasicdetails(session.emailid,db) return dict(companydetails=obj_comapny)