#16733: pk/id bug in multiple inheritance of concrete classes
-----------------+----------------------------------------------
 Reporter:  Leo  |          Owner:  nobody
     Type:  Bug  |         Status:  new
Milestone:       |      Component:  Database layer (models, ORM)
  Version:  SVN  |       Severity:  Normal
 Keywords:       |   Triage Stage:  Unreviewed
Has patch:  0    |  Easy pickings:  0
    UI/UX:  0    |
-----------------+----------------------------------------------
 If I have two concrete classes A, B and then have a `class C(A,B)` a C
 object's pk and id don't line up.

 The c.pk is a.pk and c.id is b.id. This can create all sorts of problems
 and confusion since you can conventionally use pk and id interchangeably.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16733>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to