11 lines
233 B
Python
11 lines
233 B
Python
from django.core.management.base import BaseCommand
|
|
from django.utils import translation
|
|
|
|
|
|
class Command(BaseCommand):
|
|
|
|
leave_locale_alone = True
|
|
|
|
def handle(self, *args, **options):
|
|
return translation.get_language()
|