2012-12-10 11:37:35 -08:00
|
|
|
from django.core.management.base import BaseCommand
|
|
|
|
from apps.rss_feeds.tasks import BackupMongo
|
|
|
|
|
|
|
|
class Command(BaseCommand):
|
|
|
|
option_list = BaseCommand.option_list
|
|
|
|
|
|
|
|
def handle(self, *args, **options):
|
2020-10-05 00:45:20 +07:00
|
|
|
BackupMongo().apply()
|