コード例 #1
0
ファイル: views.py プロジェクト: DeepInTheCode/tendenci
def action_colors(data):
    for item in data:
        item['color'] = get_color(str(item['action']))
コード例 #2
0
ファイル: views.py プロジェクト: DeepInTheCode/tendenci
def event_colors(data):
    for item in data:
        item['color'] = get_color(str(item['event_id']))
コード例 #3
0
 def color(self):
     return get_color(str(self.event_id))
コード例 #4
0
ファイル: models.py プロジェクト: zenny/tendenci
 def color(self):
     return get_color(str(self.event_id))
コード例 #5
0
def action_colors(data):
    for item in data:
        item['color'] = get_color(str(item['action']))
コード例 #6
0
def event_colors(data):
    for item in data:
        item['color'] = get_color(str(item['event_id']))