diff -r 342f180b09ec -r b6010b3d6ea8 src/hp/models.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hp/models.py Wed Nov 14 16:29:01 2012 +0100 @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +''' +Created on Nov 13, 2012 + +@author: ymh +''' + +from django.db import models +from django.utils.translation import ugettext_lazy as _ + +class VideoKCRel(models.Model): + + iri_id = models.CharField(max_length=255, unique=True, verbose_name=_('content.iri_id')) + graph_id = models.CharField(max_length=1024, verbose_name=_('graph_id')) + topic_id = models.CharField(max_length=1024, verbose_name=_('topic_id')) + + def __unicode__(self): + return u"%s->%s|%s" %(self.iri_id,self.graph_id, self.topic_id) + +