mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 09:55:28 +00:00
PEP fix
This commit is contained in:
1 parent
007d2d4054
commit
0f00205256
1 file changed
+2
-3
@@ -7,8 +7,7 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
from django import forms
|
from django import forms
|
||||||
from crispy_forms.helper import FormHelper
|
from crispy_forms.helper import FormHelper
|
||||||
from crispy_forms.layout import Field, Layout
|
from crispy_forms.layout import Layout
|
||||||
from crispy_forms.bootstrap import PrependedText
|
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
|
|
||||||
|
|
||||||
@@ -30,7 +29,7 @@ class HelperForm(forms.ModelForm):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
self.helper.layout = Layout(*self.fields.keys())
|
self.helper.layout = Layout(*self.fields.keys())
|
||||||
|
|
||||||
|
|
||||||
class DeleteForm(forms.Form):
|
class DeleteForm(forms.Form):
|
||||||
""" Generic deletion form which provides simple user confirmation
|
""" Generic deletion form which provides simple user confirmation
|
||||||
|
|||||||
Reference in new issue
Block a user