export_lexemes.py 326 Bytes
# -*- coding: utf-8 -*-
from django.core.management import BaseCommand

from export.lexeme_export import LexemeExport


class Command(BaseCommand):
    help = 'Temporary export script'

    def handle(self, export_data=None, **options):
        LexemeExport(export_data_name=export_data, print_debug=True).export_from_cache()