theatlantic / django-generic-plus

Django model field that behaves as both a GenericForeignKey and a FileField
Other
8 stars 1 forks source link

Add 'field identifier' to generic plus, drop support for Django <= 1.3 #3

Closed joshmaker closed 9 years ago

fdintino commented 9 years ago

It looks like you need to update the query params in GenericRelatedObjectManager.get_query_set() and GenericRelatedObjectManager.get_prefetch_query_set()

fdintino commented 9 years ago

You may also need to add some logic to GenericRelatedObjectManager.create() and GenericRelatedObjectManager.add()