Skip to content

Commit

Permalink
Add update_stale_videos command
Browse files Browse the repository at this point in the history
  • Loading branch information
ababic committed Feb 24, 2024
1 parent 8432985 commit 18ad594
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/wagtail_bynder/management/commands/update_stale_videos.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from wagtail_bynder import get_video_model

from .base import BaseBynderSyncCommand


class Command(BaseBynderSyncCommand):
model = get_video_model()
bynder_asset_type: str = "video"
page_size: int = 200

0 comments on commit 18ad594

Please sign in to comment.