示例#1
0
 def get_entry(self,assessment_id):        
 	# Query For Selected assessment based on assessment_id
     assessment = Assessment.objects.get(id=assessment_id)          
     return ChoiceEntry(self, assessment)   
示例#2
0
 def get_entry(self, child_id):        
     Childs = Child.objects.get(id=child_id)          
     return ChoiceEntry(self,Childs )
示例#3
0
 def get_entry(self, institution_management_id):
     institution_management = Institution_Management.objects.all(
         id=management_id)
     return ChoiceEntry(self, institution_management)
示例#4
0
 def get_entry(self, boundary_type_id):
     boundary_type = Boundary_Type.objects.all(id=boundary_type_id)
     return ChoiceEntry(self, boundary_type)
示例#5
0
 def get_entry(self, question_id):
     # Query For Selected Question based on question_id
     question = Question.objects.get(id=question_id)
     return ChoiceEntry(self, question)
示例#6
0
 def get_entry(self, studentgroup_id):
     # Query For Selected Student Group based on studentgroup_id
     StudentGroups = StudentGroup.objects.get(id=studentgroup_id)
     return ChoiceEntry(self, StudentGroups)
 def get_entry(self, institution_category_id):
     institution_category = Institution_Category.objects.all(
         id=institution_category_id)
     return ChoiceEntry(self, institution_category)
示例#8
0
 def get_entry(self, programme_id):
     # Query For Programme
     programme = Programme.objects.get(id=programme_id)
     return ChoiceEntry(self, programme)
示例#9
0
 def get_entry(self, student_id):
     # Query For Selected Student based on student_id
     Students = Student.objects.get(id=student_id)
     return ChoiceEntry(self, Students)
示例#10
0
 def get_entry(self, language_id):
     language = Moi_Type.objects.all(id=language_id)
     return ChoiceEntry(self, language)
示例#11
0
 def get_entry(self, staff_id):
     # Query For Selected Staff based on staff_id
     staff = Staff.objects.get(id=int(staff_id))
     return ChoiceEntry(self, staff)
示例#12
0
 def get_entry(self, institution_id):
     # Query Institution Object using Id
     institution = Institution.objects.get(id=institution_id)
     return ChoiceEntry(self, institution)