コード例 #1
0
 def is_with_published_event(self):
     return LectureConditions.is_with_published_event(model_instance=self)
コード例 #2
0
 def is_published(self):
     return LectureConditions.is_published(model_instance=self)
コード例 #3
0
ファイル: models.py プロジェクト: pahaz/events-site-example
 def is_published(self):
     return LectureConditions.is_published(model_instance=self)
コード例 #4
0
 def is_with_video(self):
     return LectureConditions.is_with_video(model_instance=self)
コード例 #5
0
ファイル: models.py プロジェクト: pahaz/events-site-example
 def is_with_published_event(self):
     return LectureConditions.is_with_published_event(model_instance=self)
コード例 #6
0
ファイル: models.py プロジェクト: pahaz/events-site-example
 def is_with_video(self):
     return LectureConditions.is_with_video(model_instance=self)
コード例 #7
0
ファイル: managers.py プロジェクト: pahaz/events-site-example
 def filter_by_published(self):
     return self.filter(LectureConditions.is_published())
コード例 #8
0
ファイル: managers.py プロジェクト: pahaz/events-site-example
 def filter_by_with_published_event(self):
     return self.filter(LectureConditions.is_with_published_event())
コード例 #9
0
ファイル: managers.py プロジェクト: pahaz/events-site-example
 def filter_by_with_video(self):
     return self.filter(LectureConditions.is_with_video())