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

Fix Lookup.get_objects for inherited models #212

Merged
merged 3 commits into from
Sep 9, 2017

Conversation

crucialfelix
Copy link
Owner

@crucialfelix crucialfelix commented Sep 9, 2017

Note: django > 1.10 should/could use pk.related_field.to_python
but earlier versions need to use pk.rel.field.to_python

They may deprecate rel later but at least we now have test coverage for it.

Note: django > 1.10 should/could use pk.related_field.to_python
but earlier versions need to use pk.rel.field.to_python

They may deprecate rel later but at least we now have test coverage for it.
Because it is now passing in a list of models, not a QuerySet during render()

tests: force update to latest versions of each 1.x release

Locally the test was not failing because tox was happy with 1.11.1
and the bug doesn't happen a later 1.11.x version
@crucialfelix crucialfelix merged commit b1334c3 into develop Sep 9, 2017
@crucialfelix crucialfelix deleted the topic/inherited-models branch September 9, 2017 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant