django1/django/contrib/contenttypes
Anssi Kääriäinen 1fd762c106 [1.6.x] Fixed #21428 -- editable GenericRelation regression
The GenericRelation refactoring removed GenericRelations from
model._meta.many_to_many. This had the side effect of disallowing
editable GenericRelations in ModelForms. Editable GenericRelations
aren't officially supported, but if we don't fix this we don't offer any
upgrade path for those who used the ability to set editable=True
in GenericRelation subclass.

Thanks to Trac alias joshcartme for the report and stephencmd and Loic
for working on this issue.

Backpatch of 0e079e4331 from master.
2013-11-16 20:15:46 +02:00
..
locale [1.6.x] Pulled Transifex translations for contrib apps 2013-11-05 21:44:03 +01: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 [1.6.x] Fixed #21428 -- editable GenericRelation regression 2013-11-16 20:15:46 +02:00
management.py Added TransactionTestCase.available_apps. 2013-06-10 11:24:10 +02: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