def is_active(self):
     return is_within_period(self.active_from, self.active_until)
예제 #2
0
 def is_registration_open(self):
     return is_within_period(self.registration_opens, self.registration_closes)
예제 #3
0
 def is_accepting_cold_offers(self):
     return is_within_period(
         self.accepting_cold_offers_from,
         self.accepting_cold_offers_until,
     )
예제 #4
0
 def is_active(self):
     return is_within_period(self.active_from, self.active_until)
예제 #5
0
파일: models.py 프로젝트: wyrmiyu/kompassi
 def is_registration_open(self):
     return is_within_period(self.registration_opens, self.registration_closes)
예제 #6
0
 def is_enrollment_open(self):
     return is_within_period(self.enrollment_opens, self.enrollment_closes)
예제 #7
0
 def is_enrollment_open(self):
     return is_within_period(self.enrollment_opens, self.enrollment_closes)
예제 #8
0
 def is_accepting_cold_offers(self):
     return is_within_period(
         self.accepting_cold_offers_from,
         self.accepting_cold_offers_until,
     )