forked from 0x2620/pandora
rename Item.itemId to Item.public_id
This commit is contained in:
parent
3ab0e4ba1e
commit
3232ce6989
44 changed files with 382 additions and 213 deletions
|
|
@ -16,4 +16,4 @@ def update_file_paths(id):
|
|||
from item.tasks import update_file_paths
|
||||
p = models.Person.objects.get(pk=id)
|
||||
for i in Item.objects.filter(find__value__icontains=p.name).distinct():
|
||||
update_file_paths(i.itemId)
|
||||
update_file_paths(i.public_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue