Skip to content

Commit 365d409

Browse files
authored
Adding import missing for the status code (#9820)
1 parent 2465f9b commit 365d409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/api-guide/testing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ REST framework also provides a test case class for isolating `urlpatterns` on a
353353
## Example
354354

355355
from django.urls import include, path, reverse
356+
from rest_framework import status
356357
from rest_framework.test import APITestCase, URLPatternsTestCase
357358

358359

0 commit comments

Comments
 (0)