Here is my use case. Model field definition: blog_url = models.URLField(verbose_name=u'Blog', blank=True, error_messages={'invalid': u'Adres bloga nie jest prawidłowy'}) To define error messages in form I have to write: blog_url = forms.CharField(error_messages={'invalid': u'Adres bloga nie jest prawidłowy'}, label=u'Blog', required=False)
So there are 3 DRY violation in one field(label - verbose_name, required - blank, error_messages - error messages)! I can't understand why all remaining model option are translated to corresponding fields, but error_messages not. In my opinion this is a serious bug*,* not only feature request. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/iTVJ0JNQ5NAJ. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.