From b2b082d8d8c0e8ef936c7c5ad56e7f22d34e8b1a Mon Sep 17 00:00:00 2001 From: Sebastian Reyes Espinosa Date: Thu, 21 Jul 2022 18:06:35 -0500 Subject: [PATCH] Fix warning from django-coverage-plugin in tests (#3790) Co-authored-by: Bruno Alla --- {{cookiecutter.project_slug}}/config/settings/test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/{{cookiecutter.project_slug}}/config/settings/test.py b/{{cookiecutter.project_slug}}/config/settings/test.py index 78fb6cc6..f103eb10 100644 --- a/{{cookiecutter.project_slug}}/config/settings/test.py +++ b/{{cookiecutter.project_slug}}/config/settings/test.py @@ -25,5 +25,9 @@ PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"] # https://docs.djangoproject.com/en/dev/ref/settings/#email-backend EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend" +# DEBUGING FOR TEMPLATES +# ------------------------------------------------------------------------------ +TEMPLATES[0]["OPTIONS"]["debug"] = True # type: ignore # noqa F405 + # Your stuff... # ------------------------------------------------------------------------------