Delete un-needed code

This commit is contained in:
Oliver Walters committed 2021-02-28 21:44:10 +11:00
1 parent 04dbfbd892
commit 34def10765
5 files changed
-14

No files matched your search

-3
View File
@@ -9,7 +9,6 @@ from django_filters.rest_framework import DjangoFilterBackend
from django.http import JsonResponse
from django.db.models import Q, F, Count, Prefetch, Sum
from rest_framework.pagination import LimitOffsetPagination
from rest_framework import status
from rest_framework.response import Response
from rest_framework import filters, serializers
@@ -372,8 +371,6 @@ class PartList(generics.ListCreateAPIView):
starred_parts = None
pagination_class = LimitOffsetPagination
def get_serializer(self, *args, **kwargs):
# Ensure the request context is passed through