-
Notifications
You must be signed in to change notification settings - Fork 291
AssertionError: HyperlinkedIdentityField
requires the request in the serializer context.
#12
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
Comments
Thanks for the report. Let me look into this (looks like a 2.2+ update) and figure out a fix. |
I'm getting the same assertion error. |
i am getting the same assertion error just using curl and vanilla DRF - so i think the problem might be with DRF itself. |
I updated the blog post to pass in a context with a fake request object. |
Thanks @kevinastone. |
Hi,
It looks like I don't get a warning, but I get an assertion error.
The text was updated successfully, but these errors were encountered: