A brief description of the purpose of the changes contained in this PR.
Upon comp logo upload in competition editor, the logo_icon minio path isn't being updated (even though logo icon was being created). This change makes a specific call to save the competition post making a logo_icon.
Basically the competition.save method is saving everything about a competition when you save from the ui, except the new small icon it created. So even though we do an initial save with super().save(*args, **kwargs), we now resave after making the small logo to ensure the new path is reflected in the database.
Issues this PR resolves
1390
A checklist for hand testing
[x] upload competition of find existing one
[x] upload new logo and save competition
[x] go to /admin and look into the competition record. The paths for both new logos should be similar with the exception of "_icon" in the icon path.
@ mention of reviewers
@ihsaan-ullah @Didayolo
A brief description of the purpose of the changes contained in this PR.
Upon comp logo upload in competition editor, the logo_icon minio path isn't being updated (even though logo icon was being created). This change makes a specific call to save the competition post making a logo_icon.
Issues this PR resolves
1390
A checklist for hand testing
Any relevant files for testing
Checklist