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:
@ -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
|
||||
|
Reference in New Issue
Block a user