Implement DocumentProperties.__unicode__
This commit is contained in:
parent
4613005b83
commit
8c23bdff6d
1 changed files with 4 additions and 1 deletions
|
@ -263,6 +263,9 @@ class DocumentProperties(models.Model):
|
|||
index = models.IntegerField(default=0)
|
||||
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%r-%r" % (self.document, self.entity)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
||||
super(DocumentProperties, self).save(*args, **kwargs)
|
||||
|
|
Loading…
Reference in a new issue