79686860

Date: 2025-07-02 05:32:59
Score: 1.5
Natty:
Report link
from django import forms
from .models import Invoice_customer_list,Invoice_product_list


# Form for the Invoice model
class Invoice_customer_Form(forms.ModelForm):
    class Meta:
        model = Invoice_customer_list
        fields = ['customer']
        labels = {
            'customer': 'Select Customer',
            
        }

class Invoice_product_form(forms.ModelForm):
    class Meta:
        model = Invoice_product_list
        fields = ['product']
        labels = {
            'product':'Select Product'
        }
 



i want to createa form like this here is updated code 





Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kailase Kapil