mirror of
https://github.com/pretix/pretix.git
synced 2026-08-28 13:34:40 +00:00
Introduce country-specific address validation (#2945)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
co-authored by
Richard Schreiber
parent
6a8df75a9f
commit
04df1c2032
@@ -113,6 +113,7 @@ class ContactForm(forms.Form):
|
||||
class InvoiceAddressForm(BaseInvoiceAddressForm):
|
||||
required_css_class = 'required'
|
||||
vat_warning = True
|
||||
address_validation = True
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
allow_save = kwargs.pop('allow_save', False)
|
||||
|
||||
Reference in New Issue
Block a user