Re: ModelForm fields localization

2022-11-17 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Christian - did you end up making a docs PR here? I’m afraid I don’t really know why fields aren’t localized by default. If you have a proposal to change this in a backwards-compatible, low disruption way, that could be easier to discuss. On Mon, Sep 5, 2022 at 9:23 PM Christian González <

ModelForm fields localization

2022-09-05 Thread Christian González
Hi devs, just stumbled upon a small (docs?) issue: at https://docs.djangoproject.com/en/4.1/topics/forms/modelforms/#enabling-localization-of-fields , there is an example of how to use that feature. but copy'n'pasting that, it won't work, as "fields" is stilla required attribute in the Meta