Skip to content

Commit

Permalink
Merge pull request #1504 from Bhavik-ag/ac2-apis
Browse files Browse the repository at this point in the history
Added AC-2 Module Required APIs
  • Loading branch information
prabhatsuman authored Apr 21, 2024
2 parents e71308f + dbdd3bc commit e2d651a
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from applications.academic_procedures.models import (ThesisTopicProcess, InitialRegistrations,InitialRegistration,
FinalRegistration, FinalRegistrations, SemesterMarks,
BranchChange , StudentRegistrationChecks, Semester, backlog_course , CourseSlot , FeePayments , course_registration)
BranchChange , StudentRegistrationChecks, Semester, backlog_course , CourseSlot , FeePayments , Course, course_registration)

from applications.academic_information.api.serializers import (CurriculumInstructorSerializer,
CurriculumSerializer , CourseSerializer , StudentSerializers )
Expand Down Expand Up @@ -71,4 +71,9 @@ class Meta:
class CourseSlotSerializer(serializers.ModelSerializer):
class Meta:
model = CourseSlot
fields = ('__all__')

class CourseSerializer(serializers.ModelSerializer):
class Meta:
model = Course
fields = ('__all__')
6 changes: 5 additions & 1 deletion FusionIIIT/applications/academic_procedures/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
urlpatterns = [
url(r'^stu/details', views.academic_procedures_student, name='student_procedures'),
url(r'^stu/pre_registration' , views.student_pre_registration , name = 'pre_registration'),
url(r'^stu/final_registration' , views.student_final_registration , name = 'final_registration'),
url(r'^stu/final_registration' , views.final_registration , name = 'final_registration'),
url(r'^stu/add_one_course/' , views.add_one_course , name = 'add_one_course'),
url(r'^stu/view_registration' , views.student_view_registration , name = 'view_registration'),
url(r'^stu/view_offered_courses' , views.view_offered_courses , name = 'student_view_offered_courses'),
url(r'^stu/backlog_courses', views.student_backlog_courses , name = 'student_backlog_courses'),
Expand All @@ -16,7 +17,10 @@


url(r'^acad/view_registrations' , views.acad_view_reigstrations , name='acad_view_registrations'),
url(r'^acad/verify_registration' , views.verify_registration , name='verify_registration'),
url(r'^acad/get_course_list' , views.get_course_list , name = 'get_course_list' ),
url(r'^acad/get_all_courses' , views.get_all_courses , name = 'get_all_courses' ),
url(r'^acad/gen_roll_list' , views.gen_roll_list , name = 'gen_roll_list' ),
url(r'^acad/configure_pre_registration' , views.configure_pre_registration_date , name = 'configure_pre_registration'),
url(r'^acad/configure_final_registration' , views.configure_final_registration_date , name = 'configure_final_registration'),
url(r'^acad/add_course_to_slot' , views.add_course_to_slot , name = 'add_course_to_slot'),
Expand Down
Loading

0 comments on commit e2d651a

Please sign in to comment.