-
Notifications
You must be signed in to change notification settings - Fork 819
Ignoring requests containing list instead of dict #606
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
Conversation
If a request's body is a json list instead of a json object django-oauth-toolkit raises and exception. It breaks bulk requests for drf for example. This commit fixes it.
|
Discussed here: #456 |
|
@sassanh Please make sure to let other members review your pull requests and don't merge them automatically. |
|
@jezdez No I just thought there are lots of unnecessary commits (3) for such a simple change. So I tried to clean up the main PR but I failed so I created another one. |
|
@sassanh Gotcha, thanks! |
|
@jleclanche @jezdez Bringing this back up as I don't see an independent review approval for this commit. I'm trying to figure out how to document this issue for the 1.3.0 release (#785) since there was no CHANGELOG entry created. I'd appreciate a quick second look. |
If a request's body is a json list instead of a json object django-oauth-toolkit raises and exception. It breaks bulk requests for drf for example. This commit fixes it.