1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

[1.6.x] Fixed #21307 -- Moved TransRealMixin to django.test.utils.

51d2e1fb23 from master.
This commit is contained in:
Ramiro Morales
2013-10-22 20:38:11 -03:00
parent 2e74d6cb53
commit bcc65c13a0
8 changed files with 24 additions and 32 deletions

View File

@@ -22,7 +22,7 @@ from django.template import (base as template_base, loader, Context,
from django.template.loaders import app_directories, filesystem, cached
from django.test import RequestFactory, TestCase
from django.test.utils import (setup_test_template_loader,
restore_template_loaders, override_settings)
restore_template_loaders, override_settings, TransRealMixin)
from django.utils import unittest
from django.utils.encoding import python_2_unicode_compatible
from django.utils.formats import date_format
@@ -33,8 +33,6 @@ from django.utils import six
from django.utils.six.moves.urllib.parse import urljoin
from django.utils.tzinfo import LocalTimezone
from i18n import TransRealMixin
try:
from .loaders import RenderToStringTest, EggLoaderTest
except ImportError as e: