forked from mike/django
12 lines
423 B
Python
12 lines
423 B
Python
from django.forms import ModelForm
|
|
from .models import VendorsData, VendorsAddresses
|
|
|
|
class VendorEditForm(ModelForm):
|
|
class Meta:
|
|
model = VendorsData
|
|
fields = ['vendorCoverAmount', 'vendorPaidNotification', 'vendorPayWindow', 'vendorWebName', 'vendorWebAddr', 'vendorNetworkFee']
|
|
|
|
class VendorAddrAddForm(ModelForm):
|
|
class Meta:
|
|
model = VendorsAddresses
|
|
fields = ['coin', 'address'] |