mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fix
This commit is contained in:
parent
007d2d4054
commit
0f00205256
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user