Skip to content

Add async support since Django 5.2 supports async cache #771

@robd003

Description

@robd003

Problem Statement
I'd like to be able to use async views with django-redis

Describe the solution you'd like
I'd like async support for django-redis so that I can do cache.aset() / cache.aget() from within an async view

Describe alternatives you've considered
None

Additional context
Django 5.2 already support async cache calls in django.core.cache.backends.base.BaseCache
https://github.com/django/django/blob/ff3aaf036f0cb66cd8f404cd51c603e68aaa7676/django/core/cache/backends/base.py#L237-L247

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions