annotation ids
This commit is contained in:
parent
826e61a2eb
commit
fd39f122ad
2 changed files with 7 additions and 4 deletions
|
|
@ -340,6 +340,8 @@ class Item(models.Model):
|
|||
#FIXME: should this really happen for annotations?
|
||||
for a in self.annotations.all():
|
||||
a.item = other
|
||||
a.public_id = None
|
||||
a.save()
|
||||
|
||||
if hasattr(self, 'files'):
|
||||
for f in self.files.all():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue