Skip to content

TG-467 improve address form

Bengfort requested to merge 467-address-form into master

This uses MultiModelForm from the django-betterforms project to inline the address form into the subject form. It also uses the datalist element to provide autocompletion for city and country. Note that datalist is still not supported in safari.

Currently, entering an address is optional in FullAddressForm.is_valid(), but required in FullAddressForm.save() and the HTML. This should be fixed separately.

Edited by Bengfort

Merge request reports