cookiecutter / cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
https://cookiecutter-django.readthedocs.io
BSD 3-Clause "New" or "Revised" License
12.15k stars 2.91k forks source link

Replace django-redis by Django's core? #5542

Open browniebroke opened 1 day ago

browniebroke commented 1 day ago

Description

Django 4.0 introduced a Redis backend for caching, but this template still uses the django-redis package. There might be a good reason for it, but at this point I'm not sure and would like to ask the question.

There is a thread in the django-redis repo with some questions & answers which may help us make a decision: https://github.com/jazzband/django-redis/issues/585. The repo has still a lot of activity so it's far from being unmaintained and has still some advantages vs the backend from Django core.

If we switch, we need to ensure that it works as expected with secure connection strings rediss://... which we just added support (https://github.com/cookiecutter/cookiecutter-django/issues/5500).

Rationale

One fewer dependency to install