• Anssi Kääriäinen's avatar
    Fixed #21428 -- editable GenericRelation regression · 0e079e43
    Anssi Kääriäinen yazdı
    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.
    0e079e43
models.py 4.86 KB