-
Notifications
You must be signed in to change notification settings - Fork 208
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
@cache_response doesn't seem to be working with DRF 2.4 #32
Comments
Hi @ondrowan. I've added tests for drf==2.4.2, and don't see any problems with them for now: |
I'm sorry, there's important fact I forgot to mention. First request always works ok, from 2nd on I get this exception. I've made a test repo where you can try it out: https://github.com/ondrowan/drf-extensions-issue-32. It's just copy & pasted DRF tutorial with extensions added. Views are in |
I've created issue in DRF repository. Will see, on which side this error should be handled. |
I've made a hack for fixing this issue. Please, give a feedback. If you don't have any problems I'll release new version. |
It seems to be working fine now. Will let you know if it changes. Thanks for quick fix! |
I'm getting following exception while using DRF 2.4 and Django 1.7:
It works alright if I downgrade to DRF 2.3 or remove
@cache_response
from given view.The text was updated successfully, but these errors were encountered: