* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33826#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"608ab043f75f1f9c094de57d2fd678f522bb8243" 608ab043]:
{{{
#!CommitTicketReference repository=""
revision="608ab043f75f1f9c094de57d2fd678f522bb8243"
Fixed #33826 -- Fixed RedisCache.set_many()/delete_many() crash with an
empty list.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33826#comment:4>
Comment (by Timothy Schilling):
I think there's benefit to backporting this change since other cache
backends handle this. Trying to convert from `django-redis-cache` to
Django core's Redis cache is difficult because any number of libraries may
be built with this expectation.
--
Ticket URL: <https://code.djangoproject.com/ticket/33826#comment:5>
Comment (by Timothy Schilling):
Ack, never mind. It's pretty easy to subclass the backend and override the
two functions to confirm that keys is truthy.
--
Ticket URL: <https://code.djangoproject.com/ticket/33826#comment:6>