DocumentProperties: add data field
This commit is contained in:
parent
42ac4a88b8
commit
a55cbcfb9f
2 changed files with 23 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class DocumentProperties(models.Model):
|
|||
document = models.ForeignKey(Document)
|
||||
entity = models.ForeignKey(Entity, related_name='documentproperties')
|
||||
index = models.IntegerField(default=0)
|
||||
|
||||
data = fields.DictField(default={})
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%r-%r" % (self.document, self.entity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue