#10237: Symmetry is lost when inheriting a self-referential m2m field
------------------------------------------+---------------------------------
 Reporter:  justinlilly                   |       Owner:  justinlilly
   Status:  new                           |   Milestone:             
Component:  Database layer (models, ORM)  |     Version:  1.0        
 Keywords:  mti, m2m, inheritance         |       Stage:  Unreviewed 
Has_patch:  1                             |  
------------------------------------------+---------------------------------
 When extending a model (via MTI, not ABC), the implicit symmetrical=True
 reference wasn't being maintained because the current class was being
 checked against the parent (which weren't the same type). By changing this
 to an isinstance call instead of a !__class!__ comparison, it properly
 compares to parent objects.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10237>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to