Skip to content

Conversation

@H4dr1en
Copy link

@H4dr1en H4dr1en commented Jun 24, 2020

This PR aims to add support for querysets created with .values(...).

In such case, position_from_instance(self, instance) recieve a dict instead of a ORM object, therefore failing at line 131 with AttributeError, since it tries to access the value using getattr instead of get

I extended the tests for that use-case, but I am not sure how to start them?

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.

1 participant