mirror of
https://github.com/django-components/django-components.git
synced 2025-11-25 08:21:20 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
15a0e66219
commit
0648ad9a93
14 changed files with 983 additions and 432 deletions
|
|
@ -3,15 +3,17 @@ from django.conf import settings
|
|||
|
||||
if not settings.configured:
|
||||
settings.configure(
|
||||
INSTALLED_APPS=('django_components',),
|
||||
TEMPLATES=[{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': ["tests/templates/"],
|
||||
}],
|
||||
COMPONENTS={
|
||||
'TEMPLATE_CACHE_SIZE': 128
|
||||
},
|
||||
MIDDLEWARE=['django_components.middleware.ComponentDependencyMiddleware'],
|
||||
INSTALLED_APPS=("django_components",),
|
||||
TEMPLATES=[
|
||||
{
|
||||
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
||||
"DIRS": ["tests/templates/"],
|
||||
}
|
||||
],
|
||||
COMPONENTS={"TEMPLATE_CACHE_SIZE": 128},
|
||||
MIDDLEWARE=[
|
||||
"django_components.middleware.ComponentDependencyMiddleware"
|
||||
],
|
||||
DATABASES={},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue