I want to use this feature:
http://www.djangoproject.com/documentation/newforms/#error-messages
But when I do:
class InsertUserForm(djangoforms.ModelForm):
name = forms.CharField(error_messages={'required': 'Please enter
your name'})
it comes up with the following error:
TypeError: __init__() got an unexpected keyword argument 'error_messages'
so, how to do this with current django version of google app engine?
How to make a custom error message to show up in the django form? I
don't want to rewrite the validation rules by rewriting them at the
clean_fieldname methods, I just want to replace the default
messages...
Thanks in advance.
--
Weslei A. de T. Marinho
--
Read my blog! I depend on your acceptance of my opinion! I am interesting!
http://ironfroggy-code.blogspot.com/