From ff3cc96e0e4a816f0371e2fdd6f35c6c198530c4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 20 Apr 2020 09:50:41 +1000 Subject: [PATCH] PEP fixes --- InvenTree/order/api.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/InvenTree/order/api.py b/InvenTree/order/api.py index cf546bee21..1dd0657930 100644 --- a/InvenTree/order/api.py +++ b/InvenTree/order/api.py @@ -8,16 +8,11 @@ from __future__ import unicode_literals from django_filters.rest_framework import DjangoFilterBackend from rest_framework import generics, permissions from rest_framework import filters -from rest_framework.response import Response -from django.conf import settings from django.conf.urls import url -from InvenTree.status_codes import OrderStatus from InvenTree.helpers import str2bool -import os - from part.models import Part from company.models import SupplierPart @@ -60,7 +55,6 @@ class POList(generics.ListCreateAPIView): return queryset - def filter_queryset(self, queryset): # Perform basic filtering