django1/django/utils/translation/__init__.py

9 lines
134 B
Python

from django.conf import settings
if settings.USE_I18N:
from trans_real import *
else:
from trans_null import *
del settings