2013-02-04 07:53:48 +08:00
|
|
|
from django.core.management.base import BaseCommand
|
|
|
|
from django.utils import translation
|
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2013-02-04 07:53:48 +08:00
|
|
|
class Command(BaseCommand):
|
|
|
|
|
|
|
|
can_import_settings = True
|
|
|
|
leave_locale_alone = False
|
|
|
|
|
|
|
|
def handle(self, *args, **options):
|
|
|
|
return translation.get_language()
|