Populate image storage objects with locations everywhere.
This commit is contained in:
parent
e68d6a7302
commit
684c26bc1a
4 changed files with 40 additions and 49 deletions
|
@ -23,7 +23,7 @@ def image_view(image):
|
|||
'ancestors': image.ancestors,
|
||||
'dbid': image.id,
|
||||
'size': extended_props.image_size,
|
||||
'locations': [l.location.name for l in image.storage.locations]
|
||||
'locations': list(image.storage.locations),
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue