Skip to content

Commit

Permalink
jain resources change
Browse files Browse the repository at this point in the history
  • Loading branch information
mittal-ishaan committed Sep 26, 2023
1 parent cb353a0 commit 53573d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class AllocationResource(resources.ModelResource):
student_id = fields.Field(attribute="student_id", column_name="Student ID")
caterer_name = fields.Field(attribute="caterer_name", column_name="Caterer Allocated")
high_tea = fields.Field(attribute="high_tea", column_name="High Tea")
jain = fields.Field(attribute="jain", column_name="Jain")
jain=fields.Field(attribute="jain", column_name="Jain")
first_pref = fields.Field(attribute="first_pref", column_name="First Preferences")
second_pref = fields.Field(
Expand Down Expand Up @@ -142,6 +143,7 @@ class AllocationNewResource(resources.ModelResource):
student_id = fields.Field(attribute="student_id", column_name="Student ID")
caterer__name = fields.Field(attribute="caterer__name", column_name="Caterer Allocated")
high_tea = fields.Field(attribute="high_tea", column_name="High Tea")
jain = fields.Field(attribute="jain", column_name="Jain")
first_pref = fields.Field(attribute="first_pref", column_name="First Preferences")
second_pref = fields.Field(
attribute="second_pref", column_name="Second Preferences"
Expand All @@ -164,6 +166,7 @@ class Meta:
"student_id",
"caterer__name",
"high_tea",
"jain",
"first_pref",
"second_pref",
"third_pref",
Expand All @@ -180,6 +183,7 @@ class Meta:
"student_id",
"caterer__name",
"high_tea",
"jain",
"first_pref",
"second_pref",
"third_pref",
Expand Down

0 comments on commit 53573d2

Please sign in to comment.