Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
last_login__gte=date, last_login__lt=date_to ).count()
class ContributionProfile: """ Class for keeping track a profile. """
type=type, major=exchange.student_major if exchange.student_major is not None else "", minor=exchange.student_minor if exchange.student_minor is not None else "", exchange_semester=f"{exchange.semester}{exchange.year}", university_pk=exchange.university.pk, )
""" Return the contributions profiles from the 24 hours following the date arg.
If no university if associated with a contribution we don't return it. """
updated_on__gte=date, updated_on__lt=date_to, exchange__university__isnull=False, untouched=False, ).prefetch_related("exchange")
updated_on__gte=date, updated_on__lt=date_to, course__exchange__university__isnull=False, untouched=False, ).prefetch_related("course__exchange") exchange = course_feedback.course.exchange contribution_profile = _get_profile_from_exchange(exchange, "course_feedback") contributions_profiles.append(contribution_profile)
|