mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #17379 -- Removed management commands deactivation of the locale.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.core.management.base import BaseCommand, no_translations
|
||||
from django.utils import translation
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
|
||||
@no_translations
|
||||
def handle(self, *args, **options):
|
||||
return translation.get_language()
|
||||
Reference in New Issue
Block a user