Opened 11 years ago

Closed 11 years ago

#20607 closed Bug (invalid)

localized_fields = ('__all__',) don't works

Reported by: merb Owned by: nobody
Component: Internationalization Version: 1.6-alpha-1
Severity: Normal Keywords: ModelForm, localization, localized_fields
Cc: c.schmitt@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The localized_fields = ('all',) don't work as expected as described here:
https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#enabling-localization-for-fields-with-localized-fields
it won't localize the fields.
When i pass every field as a string instead of all it will still localize the fields. But since i wanted all i hoped that the all works, but it won't.

Change History (1)

comment:1 by Florian Apolloner, 11 years ago

Resolution: invalid
Status: newclosed

It's supposed to be localized_fields = 'all' and not as tuple.

Note: See TracTickets for help on using tickets.
Back to Top