• Anssi Kääriäinen's avatar
    Fixed 19385 -- Added ORM support for multicolumn joins · 266de5f9
    Anssi Kääriäinen yazdı
    This patch iproved two major parts in Django. First, the fields.related
    was refactored. The main addition there was ForeignObject. Second, the
    ORM now handles multicolumn joins in most cases, though there are still
    cases that do not work correcly (split_exclude() for example).
    
    In addition there were extesive changes to how GenericRelation works.
    Before it was a fake m2m field, now it is a pure virtual fields and is
    based on ForeignObject.
    
    There is still much room for improvement. The related fields code is
    still somewhat confusing, and how fields are represented in model._meta
    should also be revisited.
    
    This patch was written mostly by Jeremy Tillman with some final polish
    by the committer.
    266de5f9
__init__.py 0 Bytes