#35141: CACHE_MIDDLEWARE_SECONDS can be set to a float but has to be an int
-------------------------------------+-------------------------------------
     Reporter:  Alexander Lazarević  |                    Owner:  Alexander
         Type:                       |  Lazarević
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Cache system)  |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):

 Certainly, but I wonder if it's Django's responsibility (and any third-
 party code that uses the setting) to silently correct such a mistake. I
 see some precedent in #31982 although there isn't much elaboration on the
 rationale.

 If we are going down this route, should reopen #35041 and do the same (as
 well as do a more extensive audit throughout Django and handle this
 pattern proactively)?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35141#comment:9>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d413f930b-901e09b6-165a-4a2c-b603-da6c8575162f-000000%40eu-central-1.amazonses.com.

Reply via email to