Revision edf7ec0f

b/core/models.py
33 33
    
34 34
    def getGraphs(self):
35 35
        lungraphs = Graph.objects.filter(tags__name='lun:%s'%self.pk)
36
        return lungraphs 
36
        return lungraphs
37
    
38
    def gettags(self):
39
        alltags = ",".join([tag.name for tag in self.tags.all()])
40
        return alltags
41
    gettags.allow_tags = True
42
    gettags.short_description = 'Tags'
37 43

  
38 44

  
39 45
class Query(models.Model):

Also available in: Unified diff