File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 44from django .conf .urls import url
55from django .test import TestCase , override_settings
66from django .urls import reverse
7- from rest_framework import views , status
7+ from rest_framework import status , views
88from rest_framework .exceptions import ParseError
99from rest_framework .response import Response
1010from rest_framework .test import APITestCase
Original file line number Diff line number Diff line change 77from rest_framework .request import Request
88from rest_framework .test import APIRequestFactory
99
10- from example .factories import ArtProjectFactory
1110from rest_framework_json_api .serializers import (
1211 DateField ,
1312 ModelSerializer ,
1413 ResourceIdentifierObjectSerializer ,
15- empty ,
14+ empty
1615)
1716from rest_framework_json_api .utils import format_resource_type
1817
18+ from example .factories import ArtProjectFactory
1919from example .models import Author , Blog , Entry
20- from example .serializers import (
21- BlogSerializer ,
22- ProjectSerializer ,
23- ArtProjectSerializer ,
24- )
20+ from example .serializers import ArtProjectSerializer , BlogSerializer , ProjectSerializer
2521
2622request_factory = APIRequestFactory ()
2723pytestmark = pytest .mark .django_db
You can’t perform that action at this time.
0 commit comments