#18823: Clear with a M2M field with a through model
-------------------------------------+-------------------------------------
     Reporter:  anonymous            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.4
  (models, ORM)                      |               Resolution:
     Severity:  Release blocker      |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by anonymous):

 Replying to [comment:5 akaariai]:

 > A bigger issue is that the patch assigns to _pk_val something that isn't
 necessarily a pk value.

 That's sort of the whole point of this it can't be a pk val as that might
 not be what the correct value. Would you prefer that I rename _pk_val to
 _fk_val?

 > I did the above changes, and the work is available from here:
 https://github.com/akaariai/django/tree/ticket_18823

 By the 'above changes' do you mean just dropping the tests? Or is there
 something else there that i missed?

 > The patch is work-in-progress. I don't have more time to dedicate to
 this issue just now, and thought it might be a good idea to post the work
 in any case. I don't know of any issue that needs to be fixed in the
 patch, but on the other hand I just stopped working at an arbitrary point
 when reviewing this, so it might be there is still something to do...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18823#comment:6>
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 https://groups.google.com/groups/opt_out.


Reply via email to