hello,
I have a problem in my project.
basically scenario is i have 3 classes in models.py(Subject,Exam,Registration).
Subject class have 2 field(subject_name,subject_code,id(pk)).
Exam class have 3 field(exam_name,exam_code(pk),subject_of_exam(Foreign key relation with Subject class)).
Registration class have also 3 field(email,password,data_of_exam_id(Foreign key relation with Exam class))
above is all about my code examination.
Problem is how can i save data in Registration table.I try of the things which i know but i can't save data in Registration table.
so if anybody know how save data in Registration table please suggest me.
Thank-you.