PEP fixes

This commit is contained in:
Oliver Walters 2019-04-28 23:58:14 +10:00
parent 87411293cf
commit 05333e7e7d

View File

@ -98,7 +98,6 @@ class PartCreate(AjaxCreateView):
form = super(AjaxCreateView, self).get_form()
# Hide the default_supplier field (there are no matching supplier parts yet!)
#form.fields['default_supplier'].widget.attrs['hidden'] = True
del form.fields['default_supplier']
return form
@ -196,7 +195,6 @@ class PartEdit(AjaxUpdateView):
return form
class BomExport(AjaxView):
model = Part