Last active
October 24, 2015 16:04
-
-
Save alapidas/f3bccb438bca0775c27b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
period_dates, period_extent = self.date_range(ytd=True) | |
org = self.org() | |
all_periods = org.student_period_attendance.filter( | |
date__gte=period_extent[0], date__lte=period_extent[1], archived__exact=False, deleted__isnull=True | |
) | |
attended_periods = all_periods.filter(is_absent__exact=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment