liip / django-template

Project template for Django projects
MIT License
17 stars 13 forks source link

Fixes warnings #118

Closed danickfort closed 2 years ago

simonbru commented 2 years ago

Shouldn't we also remove this in dev.py :

TEMPLATES[0]["OPTIONS"]["loaders"] = (  # noqa
    "django.template.loaders.filesystem.Loader",
    "django.template.loaders.app_directories.Loader",
)

and this in base.py :

SILENCED_SYSTEM_CHECKS = [
    # False positive: we don't need to set `APP_DIRS=True` in template config
    # because we already manually specify the "app_directories" loader.
    "debug_toolbar.W006",
]

?

danickfort commented 2 years ago

@simonbru Done 👍