Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
xxx = models.CharField("xxx", max_length=100)
goods = models.OneToOneField(Goods, primary_key=True)
content = models.TextField()
Serializer Define is very simple:
model = GoodsMeta
In DRF 3.3.3, everything OK, json output:
But in DRF 3.4, the OneToOneField with primary_key always be null:
Why this happened? Is this a bug?
The text was updated successfully, but these errors were encountered:
Resolved via #4272.
Sorry, something went wrong.
No branches or pull requests