Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Add support for proxy models #13

Merged
merged 1 commit into from
May 28, 2014
Merged

Add support for proxy models #13

merged 1 commit into from
May 28, 2014

Conversation

bruth
Copy link
Contributor

@bruth bruth commented May 28, 2014

This introduces an optional argument to query_string_for_field for
explicitly specifying the model the field is defined on. This allows
for passing a proxy model along with the bound field which will alter
the join path that is constructed.

Read about proxy models in Django: https://docs.djangoproject.com/en/dev/topics/db/models/#proxy-models

Signed-off-by: Byron Ruth b@devel.io

This introduces an optional argument to `query_string_for_field` for
explicitly specifying the model the field is defined on. This allows
for passing a proxy model along with the bound field which will alter
the join path that is constructed.

Read about proxy models in Django: https://docs.djangoproject.com/en/dev/topics/db/models/#proxy-models


Signed-off-by: Byron Ruth <b@devel.io>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.45%) when pulling 1d76a96 on proxy-models into 36c9d8a on master.

naegelyd added a commit that referenced this pull request May 28, 2014
Add support for proxy models
@naegelyd naegelyd merged commit 6ab3ead into master May 28, 2014
@naegelyd naegelyd deleted the proxy-models branch May 28, 2014 19:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants