PEP fixes for /build

This commit is contained in:
Oliver Walters 2019-04-14 09:29:05 +10:00
parent cf374252c1
commit b9f23554a5
2 changed files with 2 additions and 4 deletions

View File

@ -16,6 +16,6 @@ class EditBuildForm(HelperForm):
'quantity', 'quantity',
'batch', 'batch',
'notes', 'notes',
# 'status', # 'status',
# 'completion_date', # 'completion_date',
] ]

View File

@ -7,11 +7,9 @@ from django.views.generic import DetailView, ListView
from part.models import Part from part.models import Part
from .models import Build from .models import Build
from .forms import EditBuildForm from .forms import EditBuildForm
from InvenTree.views import AjaxView, AjaxUpdateView, AjaxCreateView from InvenTree.views import AjaxView, AjaxUpdateView, AjaxCreateView
from django.http import JsonResponse
class BuildIndex(ListView): class BuildIndex(ListView):