Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keys command doesn't work with django-redis 4.9.0 #138

Open
jbagot opened this issue Mar 21, 2018 · 1 comment
Open

Keys command doesn't work with django-redis 4.9.0 #138

jbagot opened this issue Mar 21, 2018 · 1 comment

Comments

@jbagot
Copy link

jbagot commented Mar 21, 2018

Since django-redis is in the version 4.9.0 the pattern to find with the command keys is an object called CacheKey. MockRedis doesn't expect this object it's expecting an string and then crash.
With this line it's fixed: pattern = self._encode(pattern)
I'll do a pull requests with it

@jbagot
Copy link
Author

jbagot commented Jul 9, 2018

I created a Pull Request #139 to solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant