Skip to content

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

Merged
auvipy merged 1 commit intoencode:masterfrom
mgaligniana:add-mising-documentation-example-import
Jan 25, 2024
Merged

Add missing import in /api-guide/viewsets/ example#9235
auvipy merged 1 commit intoencode:masterfrom
mgaligniana:add-mising-documentation-example-import

Conversation

@mgaligniana
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

@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