Closed proffalken closed 2 years ago
Yeah ideally the full address is internationalized. Minimally this shouldn't error like this. This is a factor of when I recently removed some dependencies.
This was due to your country settings. Keep in mind it is still a 2 char field but at least now it allows you to set something. We really need to work on international addresses.
Running the latest version of Nadine using Python 3.9 and Django 4.0 inside a custom container with a modified version of Django-JSignature to get up and running.
When editing a user profile, Django crashes with an error that
profile_form.state
is aNoneType
:The error is the same even if a pseudo-value for the
state
is added to the database.Given that we don't have a concept of "states" here in the UK (we have counties instead which are more like States than the US version of a county AFAICT), it might be good to look at the logic around this and make this field entirely optional? That would also fix parts of #407 and #449 to make the personal information internationalised as well as the languages?