From b9f23554a59b537f5383bec11f6ce171808b87fa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 14 Apr 2019 09:29:05 +1000 Subject: [PATCH] PEP fixes for /build --- InvenTree/build/forms.py | 4 ++-- InvenTree/build/views.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/InvenTree/build/forms.py b/InvenTree/build/forms.py index 8addb0614b..1775b5c3b5 100644 --- a/InvenTree/build/forms.py +++ b/InvenTree/build/forms.py @@ -16,6 +16,6 @@ class EditBuildForm(HelperForm): 'quantity', 'batch', 'notes', -# 'status', -# 'completion_date', + # 'status', + # 'completion_date', ] diff --git a/InvenTree/build/views.py b/InvenTree/build/views.py index c4f406c974..0344de81ed 100644 --- a/InvenTree/build/views.py +++ b/InvenTree/build/views.py @@ -7,11 +7,9 @@ from django.views.generic import DetailView, ListView from part.models import Part from .models import Build - from .forms import EditBuildForm from InvenTree.views import AjaxView, AjaxUpdateView, AjaxCreateView -from django.http import JsonResponse class BuildIndex(ListView):