equal
deleted
inserted
replaced
9 from django.utils.translation import ugettext_lazy as _ |
9 from django.utils.translation import ugettext_lazy as _ |
10 |
10 |
11 class VideoKCRel(models.Model): |
11 class VideoKCRel(models.Model): |
12 |
12 |
13 iri_id = models.CharField(max_length=255, unique=True, verbose_name=_('content.iri_id')) |
13 iri_id = models.CharField(max_length=255, unique=True, verbose_name=_('content.iri_id')) |
|
14 project_id = models.CharField(max_length=255, unique=False, verbose_name=_('project_id'), null=True, blank=True) |
14 graph_id = models.CharField(max_length=1024, verbose_name=_('graph_id')) |
15 graph_id = models.CharField(max_length=1024, verbose_name=_('graph_id')) |
15 topic_id = models.CharField(max_length=1024, verbose_name=_('topic_id')) |
16 topic_id = models.CharField(max_length=1024, verbose_name=_('topic_id')) |
16 |
17 |
17 def __unicode__(self): |
18 def __unicode__(self): |
18 return u"%s->%s|%s" %(self.iri_id,self.graph_id, self.topic_id) |
19 return u"%s->%s|%s" %(self.iri_id,self.graph_id, self.topic_id) |