#18237: Custom error messages in ModelForm-s
-------------------------------+---------------------------------------
     Reporter:  elektrrrus     |      Owner:  nobody
         Type:  New feature    |     Status:  new
    Component:  Uncategorized  |    Version:  1.4
     Severity:  Normal         |   Keywords:  modelform, error messages
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+---------------------------------------
 There should be a simple and dry way to override default error messages
 for ModelForms. According to #13693 and custom experience error_messages
 in field definitions does not working. One of solution is implementing
 something like http://blog.brendel.com/2012/01/django-modelforms-setting-
 any-field.html, but I definitely think that error_messages from model
 definition is the best way. Doing this by redefining fields in form breaks
 IMHO dry rules.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18237>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to