-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
CourseGroupSession model in Academy
- FK to CourseGroup
- FK to CourseTopic null
- date DateField null
- stream_url URLField null
unique together date, course_group
Attendance model in Academy
- FK to CourseGroupMember
- FK to CourseGroupSession
- checkin DateTimeField
- checkout DateTimeField
API view to check-in for given CourseGroup
- find if current user is a CourseGroupMember of the given CourseGroup
- find if CourseGroupSession is happening today for the CourseGroup
- if not exists, create Attendance instance with checkin value of now for CourseGroupMember and CourseGroupSession instances
API view to chech-out for given Attendance
- test_func that user is CourseGroupMember of the given Attendance record
- set checkout to now
Reactions are currently unavailable