Fixed #18399 – Add a `for_concrete_model` kwarg to `ContentTypeManager.get_for_models?` #98

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@charettes
Member

Is is now possible to retrive ContentType instances associated with proxy models using those methods.

@charettes charettes Fixed #18399 – Add a `for_concrete_model` kwarg to
`ContentTypeManager.get_for_models?`

Is is now possible to retrive `ContentType` instances associated
with proxy models using those methods.
8d0fdfa
@akaariai
Member
akaariai commented Jun 1, 2012

As said in the ticket I think this change makes sense - there are situations where you want the proxy model contenttype, and there are situations when you want the concrete model contenttype. However, the kwarg of "for_concrete_model" doesn't feel right. Any ideas for improving that?

@charettes
Member

Fixed by b6d533a

@charettes charettes closed this Jun 8, 2012
@akaariai
Member
akaariai commented Jun 8, 2012

Pulled in manually with minor editing in commit b6d533a. I resolved a merge conflict in releases/1.5.txt, reworded the commit message and cleaned up some whitespace errors.

@charettes charettes deleted the charettes:ticket-18399-add-for_concrete_model-kwarg-to-CT.get_for_models branch Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment