#32420: build_instance in (de)serializers uses model's primary key field name
instead of attname to detect if data contains a primary key
--------------------------------------+------------------------------------
     Reporter:  trybik                |                    Owner:  trybik
         Type:  Bug                   |                   Status:  closed
    Component:  Core (Serialization)  |                  Version:  master
     Severity:  Normal                |               Resolution:  fixed
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"d881a0ea3b733a64cfb5fe19561bb01479669ed6" d881a0ea]:
 {{{
 #!CommitTicketReference repository=""
 revision="d881a0ea3b733a64cfb5fe19561bb01479669ed6"
 [3.2.x] Fixed #32420 -- Fixed detecting primary key values in
 deserialization when PK is also a FK.

 Backport of 8e90560aa8868a42bb8eda6273595bf0932a6090 from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32420#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.f2f0134b9dd239d8ddf2eae23ad7959f%40djangoproject.com.

Reply via email to