Fix test breakage when setting accessed before django.setup().

This commit is contained in:
Emil Stenström 2022-07-14 09:29:00 +02:00
parent 6fb08de236
commit 98ea9405f9

View file

@ -3,9 +3,13 @@ from textwrap import dedent
from django.core.exceptions import ImproperlyConfigured
from django.template import Context, Template
# isort: off
from .django_test_setup import * # NOQA
# isort: on
from django_components import component
from .django_test_setup import * # NOQA
from .testutils import Django30CompatibleSimpleTestCase as SimpleTestCase