#22454: Confusing message id=1_6.W001
--------------------------------------+------------------------------------
     Reporter:  pgcd                  |                    Owner:  mardini
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  Core (System checks)  |                  Version:  1.6
     Severity:  Release blocker       |               Resolution:  fixed
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by russellm):

 @mrmachine - The problem we have here is that the best we can do is guess.
 There's no canonical way to tell the difference between a project that was
 started under 1.6, and a project that was started under 1.5. The absence
 of TEST_RUNNER means either the project was started in 1.6, or it was
 started in 1.5, and hasn't been upgraded.

 We check for SITE_ID, TEMPLATE_LOADERS etc because they're settings that
 were taken out` of the default settings.py for 1.6; but obviously, this
 technique is prone to false positives.

 Using the old test runner and comparing to the new won't work - if you've
 got a new project and a moderately complex test suite, you won't have all
 the `__init__.py` tricks in place to cause the tests to be discovered, so
 you'll get false positives again.

 If you're happy you don't have a problem, you can silence any system check
 using [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-
 SILENCED_SYSTEM_CHECKS SILENCED_SYSTEM_CHECKS].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22454#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.6bc11850378f8039e0f8cdd64bdf26fb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to