#14438: Deserializer raises ValidationError if natural key is given as string
-------------------------------------+-------------------------------------
Reporter: zimnyx | Owner: nobody
Type: Bug | Status: closed
Component: Core | Version: 1.2
(Serialization) | Resolution: duplicate
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by kenth):
* status: reopened => closed
* resolution: => duplicate
Comment:
The problem you're running into is that your natural key is not in a
"tuple". This is the same root cause of the problem in #16208. I'm closing
this one duplicate & posting fix there.
--
Ticket URL: <https://code.djangoproject.com/ticket/14438#comment:4>
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 [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.