-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Bugfix/tutorial 1 #2209
Bugfix/tutorial 1 #2209
Conversation
I had to check the 2.6 compat.
Well, there you go... :) Looks good. |
@@ -181,7 +181,7 @@ Deserialization is similar. First we parse a stream into Python native datatype | |||
serializer = SnippetSerializer(data=data) | |||
serializer.is_valid() | |||
# True | |||
serializer.object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to demonstrate serializer.validated_data
here.
Nice work, opened #2214 for a very minor follow up. |
BTW, I'll submit later today a few changes for part 4 and 5 as well. |
Do you have the final code? — I'm updating the tutorial for encode/rest-framework-tutorial#16 but if you've got the finished product it might save a cycle or two if you could share the tar. |
@carltongibson busy with client work but I'll do it soon |
@xordoquy No stress — if you get to it great; if not, I'm happy to work through the changes myself. |
A few fixes to align the tutorial part 1 against drf v3.