-
-
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
Documentation Error in Tutorial 4 #2303
Comments
FYI, adding the following method to def create(self, validated_data):
return Snippet.objects.create(**validated_data) |
@tomchristie I'm not sure why you closed this. I'm not seeing anything in the turtorial about adding that method. It should probably go in this section, https://github.com/tomchristie/django-rest-framework/blob/master/docs/tutorial/4-authentication-and-permissions.md#updating-our-serializer |
@epicserve On master (and the incoming 3.0.2 release) this will no longer be incorrectly identified as an error state. |
I guess that's what's a little frustrating. The docs say to |
Latest version now on PyPI. |
(And we'll get versioning in MkDocs too at some point no doubt) :) |
In the Tutorial 4: Authentication & Permissions documentation under "Associating Snippets with Users" it says to add the following method to the SnippetList view class.
However when trying to create a snippet you get this error.
The text was updated successfully, but these errors were encountered: