mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-11-08 20:07:53 +03:00
Adding import missing for the status code (#9820)
This commit is contained in:
parent
2465f9b487
commit
365d409adb
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user