Open matthiask opened 2 years ago
By the way, recent enough versions of redis-py will automatically select the hiredis parser if it is available so you should be able to just skip specifying the parser class.
@matthiask, want to make a PR?
Thanks for asking! I'll politely decline since I'd rather spend more time on Jazzband projects, e.g. the debug toolbar. django-cache-url has served me well in the past (and still does) but since I've mostly switched to using https://github.com/matthiask/speckenv/blob/main/speckenv_django.py this isn't my own itch anymore. speckenv_django is a bit smaller, doesn't modify urllib.uses_netloc
and does everything I need re. configuring databases, email sending and caching.
I hope I don't come across as a freeloader here. Thanks again!
django-cache-url adds
PARSER_CLASS
to the options dictionary when usinghiredis://...
but Django's built-in cache backend doesn't like that.Thanks!