]> git.ipfire.org Git - thirdparty/python-drafthorse.git/commit
Fix country_subdivision field (#25)
authorMarko Luther <marko.luther@gmx.net>
Fri, 19 Jan 2024 15:53:23 +0000 (16:53 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2024 15:53:23 +0000 (16:53 +0100)
commit75617a8a1ec9c9626793d2e1d0a323c8cfab8d7a
tree6827104ed424fed0fed84c4ad3b3ccee29b14158
parent78b360d4874cb86557c9b8335a33cf51aa80b957
Fix country_subdivision field (#25)

* fixes PostalTradeAddress
- corrects order of elements
- makes country_id required
- downgrades country_subdivision to profile BASIC

* black formatting
drafthorse/models/party.py
tests/test_mininal.py