Skip to content
New issue

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? Sign in to your account

Fixed #19746 -- Allow deserialization of pk-less data #717

Merged
merged 1 commit into from Feb 24, 2013

Conversation

slurms
Copy link
Contributor

@slurms slurms commented Feb 12, 2013

Thanks rafallo for the report.

@@ -432,7 +432,6 @@ class YamlSerializerTestCase(SerializersTestBase, TestCase):

pkless_str = """- fields:
name: Reference
pk: null
model: serializers.category"""

@staticmethod
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not remove the pk: null test, but add a second snippet with no pk.

apollo13 added a commit that referenced this pull request Feb 24, 2013
Fixed #19746 -- Allow deserialization of pk-less data
@apollo13 apollo13 merged commit 4506ae0 into django:master Feb 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants