Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

Closes #2289.

If data= is passed then ensure that user cannot access .serializer.data without first calling .is_valid()

@lovelydinosaur lovelydinosaur added this to the 3.0.2 Release milestone Dec 17, 2014
lovelydinosaur added a commit that referenced this pull request Dec 17, 2014
@lovelydinosaur lovelydinosaur merged commit 76cfc5e into master Dec 17, 2014
@lovelydinosaur lovelydinosaur deleted the serializer-api-restrictions branch December 17, 2014 14:46
@lovelydinosaur lovelydinosaur changed the title Serializer API restrictions. When validating input prevent serializer.data being accessed until .is_valid() is called. Dec 17, 2014
@pzrq
Copy link
Contributor

pzrq commented Dec 18, 2014

Looks like it does the job, thanks @tomchristie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When validating input prevent serializer.data being accessed until .is_valid() is called.

3 participants