Download and cache campaign, benefit, and reward images locally
This commit is contained in:
parent
f4925b8e45
commit
55c2273e27
7 changed files with 346 additions and 266 deletions
|
|
@ -1084,6 +1084,7 @@ class Command(BaseCommand):
|
|||
"about_url": reward_campaign.about_url,
|
||||
"is_sitewide": reward_campaign.is_sitewide,
|
||||
"game": game_obj,
|
||||
"image_url": reward_campaign.image.image1x_url if reward_campaign.image else "",
|
||||
}
|
||||
|
||||
_reward_campaign_obj, created = RewardCampaign.objects.update_or_create(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue