Opened 4 years ago

Closed 4 years ago

#22807 closed Bug (wontfix)

Strange check warning when using cached template loader

Reported by: jdimov Owned by: nobody
Component: Testing framework Version: 1.7-beta-2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


With Django 1.7, when I have TEMPLATE_LOADERS defined in the file to use caching, the ./ check command complains with the following seemingly unrelated warning:

$ ./ check
System check identified some issues:

?: (1_6.W001) Some project unittests may not execute as expected.
	HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See for more information.

When I remove the setting, I get the expected "System check identified no issues (0 silenced)."

The setting in question is this:

        ('django.template.loaders.cached.Loader', (

Change History (1)

comment:1 Changed 4 years ago by Baptiste Mispelon

Resolution: wontfix
Status: newclosed


This particular check tries to detect a certain configuration using some heuristics and unfortunately, it can result in some false-positives.

You'll find more details in the comments of the corresponding function:

I'm going to close this as wontfix but if you have some ideas on how to improve the heuristics, please feel free to reopen the ticket.


Note: See TracTickets for help on using tickets.
Back to Top