Skip to content

Commit

Permalink
Move format and duration to Interview model (#857)
Browse files Browse the repository at this point in the history
* Move format and duration to Interview model

* Remove unnecessary method
  • Loading branch information
Dmi4er4 authored Jul 4, 2024
1 parent cbbaffc commit 4bfc5ac
Show file tree
Hide file tree
Showing 17 changed files with 147 additions and 116 deletions.
2 changes: 2 additions & 0 deletions apps/admission/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ def build_data(applicant, slot):
"applicant": applicant.pk,
"status": Interview.APPROVED,
"section": slot.stream.section,
"format": slot.stream.format,
"venue": slot.stream.venue,
"interviewers": slot.stream.interviewers.all(),
"date": slot.datetime_local,
"duration": slot.stream.duration
}


Expand Down
Loading

0 comments on commit 4bfc5ac

Please sign in to comment.