#23469: django_1_6_0 compatibility check yields false posititves
--------------------------------------+--------------------
     Reporter:  brutasse              |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Core (System checks)  |    Version:  master
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 
[https://github.com/django/django/blob/master/django/core/checks/compatibility/django_1_6_0.py#L42-L88
 This piece of code] attempts to decide whether to show a warning for the
 updated test runner in Django 1.6.

 However the checks performed have very little to do with the tests layout.
 Let's say I have a project that:

 * Uses `contrib.sites` (+2 points)
 * Uses the cached template loader by default (+2 points)
 * Sets `MANAGERS` and `ADMINS` (+3 points)

 Then Django will happily raise a `1_6.W001` warning whether my project has
 an issue with tests or not.

 It seems to me that this check is too weak, being based on orthogonal
 project properties and on settings that are rather likely to be
 overridden.

 Unfortunately I don't have any idea for a robust alternative, so my only
 suggestion would be to remove this check…

--
Ticket URL: <https://code.djangoproject.com/ticket/23469>
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/051.f10fdf81d243d9cf3a53fb04313e3eaa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to