Correct flake8 error
This commit is contained in:
parent
b021a8ed6e
commit
737681136f
1 changed files with 2 additions and 2 deletions
|
@ -295,8 +295,8 @@ class PaymentOrderView(FormView):
|
|||
)
|
||||
)
|
||||
product = GenericProduct.objects.all(
|
||||
product_name=
|
||||
request.POST['generic_payment_form-product_name']
|
||||
product_name=request.
|
||||
POST['generic_payment_form-product_name']
|
||||
).first()
|
||||
if product is None:
|
||||
return JsonResponse({})
|
||||
|
|
Loading…
Reference in a new issue