style fixing

This commit is contained in:
Matthias 2021-05-06 17:15:10 +02:00
parent 792b2d11c0
commit aac05db6bf

View File

@ -12,7 +12,7 @@ from django.urls import reverse
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from django.views.generic import DetailView, ListView, UpdateView from django.views.generic import DetailView, ListView, UpdateView
from django.views.generic.edit import FormMixin from django.views.generic.edit import FormMixin
from django.forms import HiddenInput from django.forms import HiddenInput, IntegerField
import logging import logging
from decimal import Decimal, InvalidOperation from decimal import Decimal, InvalidOperation
@ -1578,7 +1578,7 @@ class LineItemPricing(PartPricing):
""" View for inspecting part pricing information """ """ View for inspecting part pricing information """
class EnhancedForm(PartPricing.form_class): class EnhancedForm(PartPricing.form_class):
pk = IntegerField(widget = HiddenInput()) pk = IntegerField(widget=HiddenInput())
form_class = EnhancedForm form_class = EnhancedForm