mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Delete un-needed code
This commit is contained in:
@ -40,7 +40,6 @@ from decimal import Decimal, InvalidOperation
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from rest_framework.pagination import LimitOffsetPagination
|
||||
from rest_framework.serializers import ValidationError
|
||||
from rest_framework.views import APIView
|
||||
from rest_framework.response import Response
|
||||
@ -338,8 +337,6 @@ class StockList(generics.ListCreateAPIView):
|
||||
serializer_class = StockItemSerializer
|
||||
queryset = StockItem.objects.all()
|
||||
|
||||
pagination_class = LimitOffsetPagination
|
||||
|
||||
def create(self, request, *args, **kwargs):
|
||||
"""
|
||||
Create a new StockItem object via the API.
|
||||
|
Reference in New Issue
Block a user