1
0
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:
Claude Paroz
2013-02-04 14:35:52 +01:00
parent 1e0cbc72e5
commit d65b0f72de
16 changed files with 72 additions and 127 deletions

View File

@@ -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()