mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-23 07:10:55 +00:00
PEP fixes for /build
This commit is contained in:
@ -16,6 +16,6 @@ class EditBuildForm(HelperForm):
|
|||||||
'quantity',
|
'quantity',
|
||||||
'batch',
|
'batch',
|
||||||
'notes',
|
'notes',
|
||||||
# 'status',
|
# 'status',
|
||||||
# 'completion_date',
|
# 'completion_date',
|
||||||
]
|
]
|
||||||
|
@ -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):
|
||||||
|
Reference in New Issue
Block a user