예제 #1
0
파일: models.py 프로젝트: seiddegu/tendenci
 def color(self):
     return get_color(str(self.event_id))
예제 #2
0
파일: models.py 프로젝트: goetzk/tendenci
 def color(self):
     return get_color(str(self.event_id))
예제 #3
0
def action_colors(data):
    for item in data:
        item['color'] = get_color(str(item['action']))
예제 #4
0
def event_colors(data):
    for item in data:
        item['color'] = get_color(str(item['event_id']))
예제 #5
0
파일: views.py 프로젝트: BIGGANI/tendenci
def action_colors(data):
    for item in data:
        item['color'] = get_color(str(item['action']))
예제 #6
0
파일: views.py 프로젝트: BIGGANI/tendenci
def event_colors(data):
    for item in data:
        item['color'] = get_color(str(item['event_id']))