Skip to content

Commit 6804b57

Browse files
committed
leftover garbage removed
1 parent 8316af2 commit 6804b57

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

example/views.py

+1-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import rest_framework.parsers
33
import rest_framework.renderers
44
from django_filters import rest_framework as filters
5-
from rest_framework import viewsets
65
from rest_framework.filters import SearchFilter
76

87
import rest_framework_json_api.metadata
@@ -12,12 +11,7 @@
1211
from rest_framework_json_api.filters import OrderingFilter, QueryParameterValidationFilter
1312
from rest_framework_json_api.pagination import JsonApiPageNumberPagination
1413
from rest_framework_json_api.utils import format_drf_errors
15-
from rest_framework_json_api.views import (
16-
ModelViewSet,
17-
PreloadIncludesMixin,
18-
RelatedMixin,
19-
RelationshipView
20-
)
14+
from rest_framework_json_api.views import ModelViewSet, RelationshipView
2115

2216
from example.models import Author, Blog, Comment, Company, Entry, Project, ProjectType
2317
from example.serializers import (
@@ -32,9 +26,6 @@
3226
ProjectTypeSerializer
3327
)
3428

35-
# AutoPreloadMixin
36-
37-
3829
HTTP_422_UNPROCESSABLE_ENTITY = 422
3930

4031

0 commit comments

Comments
 (0)