1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/generic_relations
Gavin Wahl 48424adaba Fixed #17648 -- Add for_concrete_model to GenericForeignKey.
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.

Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
2013-05-23 19:03:14 -04:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #17648 -- Add for_concrete_model to GenericForeignKey. 2013-05-23 19:03:14 -04:00
tests.py Fixed #17648 -- Add for_concrete_model to GenericForeignKey. 2013-05-23 19:03:14 -04:00