From 0f00205256a7366982351ad9cf065aa2d9036bfc Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 14 May 2020 21:52:39 +1000 Subject: [PATCH] PEP fix --- InvenTree/InvenTree/forms.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/InvenTree/InvenTree/forms.py b/InvenTree/InvenTree/forms.py index c794f7ca25..3d8871f824 100644 --- a/InvenTree/InvenTree/forms.py +++ b/InvenTree/InvenTree/forms.py @@ -7,8 +7,7 @@ from __future__ import unicode_literals from django import forms from crispy_forms.helper import FormHelper -from crispy_forms.layout import Field, Layout -from crispy_forms.bootstrap import PrependedText +from crispy_forms.layout import Layout from django.contrib.auth.models import User @@ -30,7 +29,7 @@ class HelperForm(forms.ModelForm): """ self.helper.layout = Layout(*self.fields.keys()) - + class DeleteForm(forms.Form): """ Generic deletion form which provides simple user confirmation