Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Return an empty dict from django_redis.cache.RedisCache.get_many() when IGNORE_EXCEPTIONS is True. - Convert omit_exception decorator to a callable. Pass it a return_value keyword argument to specify a default return value when IGNORE_EXCEPTIONS is True.
- Loading branch information
1 parent
3095fda
commit 0f3f546
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters