add the exclude_from_overview property to designers
This commit is contained in:
@@ -25,6 +25,12 @@ class Designer(db.Model):
|
||||
return 1
|
||||
return 0
|
||||
|
||||
@property
|
||||
def exclude_from_overview(self):
|
||||
if self.visible_list == 1:
|
||||
return 0
|
||||
return 1
|
||||
|
||||
def to_json(self):
|
||||
return {
|
||||
'commission': self.commission,
|
||||
|
||||
Reference in New Issue
Block a user