コード例 #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
ファイル: models.py プロジェクト: pahaz/events-site-example
 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
ファイル: models.py プロジェクト: pahaz/events-site-example
 def is_it_time_to_publish(self):
     return EventConditions.is_it_time_to_publish(model_instance=self)
コード例 #6
0
ファイル: models.py プロジェクト: pahaz/events-site-example
 def is_with_published_type(self):
     return EventConditions.is_with_published_type(model_instance=self)
コード例 #7
0
ファイル: managers.py プロジェクト: pahaz/events-site-example
 def filter_by_published(self):
     return self.filter(EventConditions.is_published())
コード例 #8
0
ファイル: managers.py プロジェクト: pahaz/events-site-example
 def filter_by_it_time_to_publish(self):
     return self.filter(EventConditions.is_it_time_to_publish())
コード例 #9
0
ファイル: managers.py プロジェクト: pahaz/events-site-example
 def filter_by_with_published_type(self):
     return self.filter(EventConditions.is_with_published_type())