I have been trying to get the username and so forth from login in my database i made but i get an error that there is no column such as auth_user.last_name
here is my code below for this part :
rscore = session.righton
userfname = db.auth_user.first_name
userlname = db.auth_user.last_name
useremail = db.auth_user.email
userscore = rscore
db.maths_data.insert(Ufname = userfname, Ulname = userlname,
Uemail = useremail, Uscore = userscore, Utime = " " )

