Skip to content

Add missing import in /api-guide/viewsets/ example #9235

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

Merged

Conversation

mgaligniana
Copy link
Contributor

@mgaligniana mgaligniana commented Jan 24, 2024

Description

Add missing import in https://www.django-rest-framework.org/api-guide/viewsets/#example_3

To be a correct example in case of a quick copy/paste it requires import viewsets to work as expected

@mgaligniana mgaligniana force-pushed the add-mising-documentation-example-import branch from 6238d86 to 94edcd6 Compare January 24, 2024 23:07
Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

good catch. I actually faced it decade ago :D

@auvipy auvipy merged commit 2797c0f into encode:master Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants