Пример #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())