uncloud-mravi/uncloud_pay/forms.py

8 lines
No EOL
289 B
Python

from uncloud.forms import MainModelForm
from .models import BillingAddress
class BillingAddressForm(MainModelForm):
class Meta:
model = BillingAddress
fields = ['full_name', 'street',
'city', 'postal_code', 'country', 'vat_number', 'active', 'owner']