mirror of https://github.com/django/django.git
Refs #31026 -- Changed @jinja2_tests imports to be relative.
This commit is contained in:
parent
4400d8568a
commit
03a6488116
|
@ -23,7 +23,8 @@ from django.test import SimpleTestCase
|
|||
from django.test.utils import override_settings
|
||||
from django.utils.datastructures import MultiValueDict
|
||||
from django.utils.safestring import mark_safe
|
||||
from tests.forms_tests.tests import jinja2_tests
|
||||
|
||||
from . import jinja2_tests
|
||||
|
||||
|
||||
class FrameworkForm(Form):
|
||||
|
|
|
@ -14,7 +14,8 @@ from django.forms.formsets import (
|
|||
from django.forms.utils import ErrorList
|
||||
from django.forms.widgets import HiddenInput
|
||||
from django.test import SimpleTestCase
|
||||
from tests.forms_tests.tests import jinja2_tests
|
||||
|
||||
from . import jinja2_tests
|
||||
|
||||
|
||||
class Choice(Form):
|
||||
|
|
|
@ -4,7 +4,8 @@ from django.forms import (
|
|||
from django.test import SimpleTestCase
|
||||
from django.utils import translation
|
||||
from django.utils.translation import gettext_lazy
|
||||
from tests.forms_tests.tests import jinja2_tests
|
||||
|
||||
from . import jinja2_tests
|
||||
|
||||
|
||||
class FormsI18nTests(SimpleTestCase):
|
||||
|
|
|
@ -5,12 +5,12 @@ from django.db import models
|
|||
from django.forms import CharField, FileField, Form, ModelForm
|
||||
from django.forms.models import ModelFormMetaclass
|
||||
from django.test import SimpleTestCase, TestCase
|
||||
from tests.forms_tests.tests import jinja2_tests
|
||||
|
||||
from ..models import (
|
||||
BoundaryModel, ChoiceFieldModel, ChoiceModel, ChoiceOptionModel, Defaults,
|
||||
FileModel, OptionalMultiChoiceModel,
|
||||
)
|
||||
from . import jinja2_tests
|
||||
|
||||
|
||||
class ChoiceFieldForm(ModelForm):
|
||||
|
|
Loading…
Reference in New Issue