Adding import missing for the status code (#9820)

This commit is contained in:
Dayan David 2025-11-06 11:05:16 -05:00 committed by GitHub
parent 2465f9b487
commit 365d409adb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -353,6 +353,7 @@ REST framework also provides a test case class for isolating `urlpatterns` on a
## Example ## Example
from django.urls import include, path, reverse from django.urls import include, path, reverse
from rest_framework import status
from rest_framework.test import APITestCase, URLPatternsTestCase from rest_framework.test import APITestCase, URLPatternsTestCase