mirror of
https://github.com/Hopiu/django.git
synced 2026-05-03 13:14:44 +00:00
11 lines
264 B
Python
11 lines
264 B
Python
from django.core.management.base import BaseCommand
|
|
from django.utils import translation
|
|
|
|
|
|
class Command(BaseCommand):
|
|
|
|
can_import_settings = True
|
|
leave_locale_alone = True
|
|
|
|
def handle(self, *args, **options):
|
|
return translation.get_language()
|