示例#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())