export_collections.py 327 B

1234567891011121314
  1. from django.core.management.base import BaseCommand, CommandError
  2. from django.conf import settings
  3. from games.utils import export_collections
  4. class Command(BaseCommand):
  5. help = "Export all collections to media directory"
  6. def handle(self, *args, **options):
  7. export_collections(dryrun=False)
  8. return