blob: 8ebb607d5a5e9a9a02a086429d73046080972a52 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from django.core.management.base import BaseCommand
from django.utils import translation
class Command(BaseCommand):
can_import_settings = True
leave_locale_alone = False
def handle(self, *args, **options):
return translation.get_language()
|