Skip to content

Commit

Permalink
prefetch battle videos
Browse files Browse the repository at this point in the history
  • Loading branch information
catgirlinspace committed Nov 20, 2023
1 parent 25de0a3 commit 181fad7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion battles/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def with_prefetch(self, include_player_gear=False):
'nameplate_badge_3__description', 'weapon__name',
'weapon__flat_image', 'weapon__image_3d', 'weapon__sub__name',
'weapon__sub__overlay_image', 'weapon__sub__mask_image', 'weapon__special__name',
'weapon__special__overlay_image', 'weapon__special__mask_image')
'weapon__special__overlay_image', 'weapon__special__mask_image',
'battlevideo')

if include_player_gear:
player_prefetch_queryset = player_prefetch_queryset \
Expand Down

0 comments on commit 181fad7

Please sign in to comment.