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

Fixed AssertionError for OPTIONS call on list-view that accepts PUT #3542

Closed
wants to merge 1 commit into from

Conversation

pmalmgren
Copy link

For issue #3356

An OPTIONS request on a @list_route decorated view with a PUT method raises an AssertionError, because the determine_actions method was trying to access get_object(). I added a check to this method to ensure that the view was not a @list_route decorated view before trying to check object permissions.

@xordoquy
Copy link
Collaborator

Closing this for reasons given in #3356

@xordoquy xordoquy closed this Nov 10, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants