Opened 14 years ago

Last modified 13 years ago

#13583 closed

Invalid localization of error_messages in form fields — at Initial Version

Reported by: dmitry_nosov Owned by: nobody
Component: Core (Other) Version: 1.2
Severity: Keywords: error_messages
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If I use this construction:

forms.IntegerField(min_value=1, max_value=5,

error_messages = {

'max_value': u'Ошибка!',

})

The error message output is
u'u041e\u0448\u0438\u0431\u043a\u0430!'

Instead of

u'Ошибка!'

Change History (0)

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