コード例 #1
0
ファイル: AssessmentApi.py プロジェクト: vishnu81/KLP-MIS
 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
ファイル: BoundaryTypeApi.py プロジェクト: vishnu81/KLP-MIS
 def get_entry(self, boundary_type_id):
     boundary_type = Boundary_Type.objects.all(id=boundary_type_id)
     return ChoiceEntry(self, boundary_type)
コード例 #5
0
ファイル: QuestionApi.py プロジェクト: vishnu81/KLP-MIS
 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)
コード例 #7
0
 def get_entry(self, institution_category_id):
     institution_category = Institution_Category.objects.all(
         id=institution_category_id)
     return ChoiceEntry(self, institution_category)
コード例 #8
0
ファイル: ProgrammeApi.py プロジェクト: vishnu81/KLP-MIS
 def get_entry(self, programme_id):
     # Query For Programme
     programme = Programme.objects.get(id=programme_id)
     return ChoiceEntry(self, programme)
コード例 #9
0
ファイル: StudentApi.py プロジェクト: vishnu81/KLP-MIS
 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
ファイル: StaffApi.py プロジェクト: vishnu81/KLP-MIS
 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
ファイル: InstitutionApi.py プロジェクト: vishnu81/KLP-MIS
 def get_entry(self, institution_id):
     # Query Institution Object using Id
     institution = Institution.objects.get(id=institution_id)
     return ChoiceEntry(self, institution)