2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

Delete un-needed code

This commit is contained in:
Oliver Walters
2021-02-28 21:44:10 +11:00
parent 04dbfbd892
commit 34def10765
5 changed files with 0 additions and 14 deletions

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