예제 #1
0
 def feedable_to_shop_top(self):
     return IArticle.providedBy(
         self.context) and not IFeedToShopTop.providedBy(self.context)
예제 #2
0
 def unfeedable_from_shop_top(self):
     return IArticle.providedBy(self.context) and IFeedToShopTop.providedBy(self.context)
예제 #3
0
 def unfeedable_from_shop_top(self):
     return IArticle.providedBy(self.context) and IFeedToShopTop.providedBy(
         self.context)
예제 #4
0
 def feedable_to_shop_top(self):
     return IArticle.providedBy(self.context) and not IFeedToShopTop.providedBy(self.context)