예제 #1
0
 def is_it_time_to_publish(self):
     return EventConditions.is_it_time_to_publish(model_instance=self)
예제 #2
0
 def is_published(self):
     return EventConditions.is_published(model_instance=self)
예제 #3
0
 def is_published(self):
     return EventConditions.is_published(model_instance=self)
예제 #4
0
 def is_with_published_type(self):
     return EventConditions.is_with_published_type(model_instance=self)
예제 #5
0
 def is_it_time_to_publish(self):
     return EventConditions.is_it_time_to_publish(model_instance=self)
예제 #6
0
 def is_with_published_type(self):
     return EventConditions.is_with_published_type(model_instance=self)
예제 #7
0
 def filter_by_published(self):
     return self.filter(EventConditions.is_published())
예제 #8
0
 def filter_by_it_time_to_publish(self):
     return self.filter(EventConditions.is_it_time_to_publish())
예제 #9
0
 def filter_by_with_published_type(self):
     return self.filter(EventConditions.is_with_published_type())