refactor: Prepare autodiscover and template loader for v1 (#533)

This commit is contained in:
Juro Oravec 2024-07-29 20:27:35 +02:00 committed by GitHub
parent b1bd430a07
commit 8cb88558f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 643 additions and 552 deletions

View file

@ -7,9 +7,11 @@ from django.test import override_settings
from django_components import component, types
from django_components.middleware import ComponentDependencyMiddleware
from .django_test_setup import * # NOQA
from .django_test_setup import setup_test_config
from .testutils import BaseTestCase, create_and_process_template_response
setup_test_config()
class SimpleComponent(component.Component):
template: types.django_html = """