Skip to content

Conversation

@dayandavid
Copy link
Contributor

Description

In the https://www.django-rest-framework.org/api-guide/testing/#example documentation, in the section for URLPatternsTestCase, inside the Example they were using status.HTTP_200_OK but weren't importing the status.

Copy link
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.

seems OK

@browniebroke browniebroke merged commit 365d409 into encode:main Nov 6, 2025
7 checks passed
@browniebroke browniebroke changed the title Adding import missing for the status code Adding missing import for the status code in example from the documentation Nov 6, 2025
@auvipy auvipy added this to the 3.17 milestone Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants