Skip to content

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

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

auvipy merged 1 commit into
encode:masterfrom
mgaligniana:add-mising-documentation-example-import

Conversation

@mgaligniana

@mgaligniana mgaligniana commented Jan 24, 2024 •

Copy link
Copy Markdown
Contributor

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

@auvipy auvipy left a comment •

Copy link
Copy Markdown
Collaborator

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

Development

Successfully merging this pull request may close these issues.

2 participants