Skip to content

Commit 3039d0b

Browse files
SA-4 (Placement Cell) V1 (#1730)
* backend for placement cell * removed migrations * Fix: migrations * Delete FusionIIIT/applications/placement_cell/migrations/0002_nextroundinfo_studentapplication.py * Delete FusionIIIT/applications/placement_cell/api/serializers.py * Added sterializers.py * Delete FusionIIIT/applications/placement_cell/migrations/0003_debarstudentinfo.py * Delete FusionIIIT/applications/placement_cell/migrations/0004_company_registration_customfield_eligibility_globalrestrictions_placementform_fields_placementform_r.py --------- Co-authored-by: Divyansh Bisht <115489768+dcoder13@users.noreply.github.com>
1 parent 8748053 commit 3039d0b

File tree

5 files changed

+1171
-27
lines changed

5 files changed

+1171
-27
lines changed

FusionIIIT/applications/placement_cell/api/serializers.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
from applications.placement_cell.models import (Achievement, Course, Education,
55
Experience, Has, Patent,
66
Project, Publication, Skill,
7-
PlacementStatus, NotifyStudent)
7+
PlacementStatus, NotifyStudent , PlacementSchedule)
8+
9+
10+
class PlacementScheduleSerializer(serializers.ModelSerializer):
11+
class Meta:
12+
model = PlacementSchedule
13+
fields = '__all__'
14+
815

916
class SkillSerializer(serializers.ModelSerializer):
1017

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
from django.urls import path
2+
from .views import *
3+
4+
5+
urlpatterns = [
6+
path('placement/', PlacementScheduleView.as_view(), name='placement-list'),
7+
path('placement/<int:id>/', PlacementScheduleView.as_view(), name='placement-list'),
8+
path('statistics/',BatchStatisticsView.as_view()),
9+
path('delete-statistics/<int:id>/',BatchStatisticsView.as_view()),
10+
path('generate-cv/',generate_cv.as_view(),name='generate_cv'),
11+
path('apply-placement/',ApplyForPlacement.as_view(),name="apply"),
12+
path('student-applications/<int:id>/',ApplyForPlacement.as_view()),
13+
path('calender/',NextRoundDetails.as_view()),
14+
path('nextround/<int:id>/',NextRoundDetails.as_view()),
15+
path('timeline/<int:id>/',TrackStatus.as_view()),
16+
path('download-applications/<int:id>/',DownloadApplications.as_view()),
17+
path('download-statistics/',DownloadStatistics.as_view()),
18+
path('debared-students/',DebarStudents.as_view()),
19+
path('debared-status/<str:id>/',DebaredDetails.as_view()),
20+
path('add-field/',FieldsAddition.as_view()),
21+
path('restrictions/',GlobalRestriction.as_view()),
22+
path('registration/',CompanyRegistration.as_view()),
23+
path('apply-for-placement/',StudentResponses.as_view()),
24+
path('form-fields/',FormFields.as_view()),
25+
]

0 commit comments

Comments
 (0)