django/base/forms.py

7 lines
282 B
Python
Raw Normal View History

2023-05-05 20:16:08 +00:00
from django.forms import ModelForm
from .models import VendorsData
class VendorEditForm(ModelForm):
class Meta:
model = VendorsData
fields = ['vendorCoverAmount', 'vendorPaidNotification', 'vendorSkipScreen', 'vendorPayWindow', 'vendorWebName', 'vendorWebAddr']