Exesize
12 строк · 397.0 Байт
1from django.core.management import call_command2from django.core.management.base import BaseCommand3
4
5class Command(BaseCommand):6help = (7"This command using for call 'makemessages' with flags:\n"8"--locale=ru --no-location" "--ignore=virt"9)10
11def handle(self, *args, **options):12call_command("makemessages", "--locale=ru", "--ignore=virt", "--no-location")13
14
15