uncloud-mravi/uncloud_pay/forms.py

8 lines
289 B
Python
Raw Permalink Normal View History

2021-09-10 07:58:42 +00:00
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']