On Thu, Dec 4, 2014 at 6:46 PM, inoyon artlover KLANGRAUSCH
<
inoyona...@googlemail.com> wrote:
> Great, it works with one form but not with an another...
> Btw. how is it possible to overwrite the 'this field is required' error
> message?
You can provide your custom set of default errors to the form field
definition, e.g.:
my_default_errors = {
'required': 'You better enter this field!',
'invalid': 'You can do better than that!'
}
class MyForm(forms.Form):
some_field = forms.CharField(error_messages=my_default_errors)