mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #34901 -- Added async-compatible interface to session engines.
Thanks Andrew-Chen-Wang for the initial implementation which was posted to the Django forum thread about asyncifying contrib modules.
This commit is contained in:
parent
33c06ca0da
commit
f5c340684b
12 changed files with 975 additions and 9 deletions
3
tests/cache/failing_cache.py
vendored
3
tests/cache/failing_cache.py
vendored
|
@ -5,3 +5,6 @@ class CacheClass(LocMemCache):
|
|||
|
||||
def set(self, *args, **kwargs):
|
||||
raise Exception("Faked exception saving to cache")
|
||||
|
||||
async def aset(self, *args, **kwargs):
|
||||
raise Exception("Faked exception saving to cache")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue