Changes between Version 3 and Version 4 of Ticket #33681
- Timestamp:
- May 5, 2022, 10:11:08 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33681 – Description
v3 v4 9 9 One could do a variety of subclassing to make this work, but there's quite a few layers of indirection here, so it's hard to identify exactly what one should subclass in order to get arguments to the connection class appropriately. 10 10 11 (For now, my workaround is take advantage of the from_url behavior where the connection class [https://github.com/redis/redis-py/blob/master/redis/connection.py#L1274 pulls arguments out of the connection query string], but this isn't straightforward and feels brittle ).11 (For now, my workaround is take advantage of the from_url behavior where the connection class [https://github.com/redis/redis-py/blob/master/redis/connection.py#L1274 pulls arguments out of the connection query string], but this isn't straightforward and feels brittle to django implementation details). 12 12 13 13 There are a couple of options here – revising documentation or changing behavior (or both).