django1/django/contrib/contenttypes
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
..
locale Updated translation templates and removed en translations 2013-05-02 16:25:23 +02:00
__init__.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00
generic.py Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`. 2013-05-23 19:03:14 -04:00
management.py Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 2013-02-05 04:16:07 -05:00
models.py (Re-)moved some imports 2013-05-21 17:34:19 +02:00
tests.py Fix NoneType error when fetching a stale ContentType with get_for_id 2013-05-18 17:31:28 +02:00
views.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00