forked from 0x2620/pandora
better related name
This commit is contained in:
parent
dc1cd6e410
commit
4c582c14b5
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Annotation(models.Model):
|
||||||
#FIXME: here having a item,start index would be good
|
#FIXME: here having a item,start index would be good
|
||||||
created = models.DateTimeField(auto_now_add=True)
|
created = models.DateTimeField(auto_now_add=True)
|
||||||
modified = models.DateTimeField(auto_now=True)
|
modified = models.DateTimeField(auto_now=True)
|
||||||
user = models.ForeignKey(User)
|
user = models.ForeignKey(User, related_name='annotations')
|
||||||
item = models.ForeignKey('item.Item', related_name='annotations')
|
item = models.ForeignKey('item.Item', related_name='annotations')
|
||||||
clip = models.ForeignKey('clip.Clip', null=True, related_name='annotations')
|
clip = models.ForeignKey('clip.Clip', null=True, related_name='annotations')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue