#26961: Run admin checks if DEBUG is False
--------------------------------------+------------------------------------
     Reporter:  adamchainz            |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.admin         |                  Version:  1.9
     Severity:  Normal                |               Resolution:
     Keywords:  checks                |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by timgraham):

 Yes, I guess that first test isn't ideal (see its origin in
 a19e9d80ffa10f8da43addcaa4ddd440beee8a4d). I guess it could be removed if
 #25415 is completed.

 I can't advise on the design of the admin checks but from what I remember,
 the implementation seemed a bit odd when I was looking through it, so if
 you want to try to refactor it, that would be welcome.

--
Ticket URL: <https://code.djangoproject.com/ticket/26961#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.3f84c8314fd0f6f1fe6143fd7548a43b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to