summaryrefslogtreecommitdiffstats
path: root/ogcp/models.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-05 10:34:27 +0200
committerlupoDharkael <izhe@hotmail.es>2024-07-09 09:52:21 +0200
commita88e5fed7dec1dd41b3feec0905f4c9925515665 (patch)
treedcb8501a95ae00451d20e4996a81852ef299f22c /ogcp/models.py
parentf85f0771cd0acaa44fe812f36d08af141e0e663a (diff)
ogcp: select images of selected partition in image/update
Select the image field value containing the restored image of the partition selected by the user. Create a dictionary where the key is the value= of the partition field and the value is the id of the image restored in the partition. Add each dictionary entry only only if the corresponding image exists in the repository. Pass the dictionary to the HTML template and convert it to JS.
Diffstat (limited to 'ogcp/models.py')
0 files changed, 0 insertions, 0 deletions