14 lines
294 B
Python
14 lines
294 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from apps.food.utils import migrate_data
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = "Imports Food from special Websites"
|
|
|
|
def add_arguments(self, parser):
|
|
pass
|
|
|
|
def handle(self, *args, **options):
|
|
migrate_data.delete()
|