This commit is contained in:
j 2016-06-15 19:13:00 +02:00
parent e3c5ab18c7
commit 70f34bfde9

View file

@ -1100,7 +1100,7 @@ class Item(models.Model):
self.update_facet(key)
def update_file_paths(self):
for f in item.files.all():
for f in self.files.all():
if f.normalize_path() != f.path:
f.save()