#21428: Django 1.6 GenericRelation editable regression
-------------------------------------+-------------------------------------
     Reporter:  joshcartme           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.6
  (models, ORM)                      |               Resolution:  fixed
     Severity:  Release blocker      |             Triage Stage:  Ready for
     Keywords:  GenericRelation,     |  checkin
  ModelForm, Admin, editable         |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Anssi Kääriäinen <akaariai@…>):

 In [changeset:"1fd762c106ed0e6888fe66e7513718ca379385c0"]:
 {{{
 #!CommitTicketReference repository=""
 revision="1fd762c106ed0e6888fe66e7513718ca379385c0"
 [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 0e079e4331a8be4dbd18d5e5776116330b0a5e61 from master.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21428#comment:14>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.62f63eebfe93fd6ffc31906a94232cae%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to