mirror of
https://github.com/django-components/django-components.git
synced 2025-09-01 11:47:19 +00:00
Fix test breakage when setting accessed before django.setup().
This commit is contained in:
parent
6fb08de236
commit
98ea9405f9
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue