I've done that because I want to change the default error_message and I do not know who to do it :(. I've tried error_messages={} in the field but it is now recognized in Fields in ModelForms only in plain Forms. So, how can I change the default error_message if I'm using ModelForms?
> Why are doing your own uniqueness check for the nombre field? You have > specified unique=True for nombre so the default ModelForm validation will > check uniqueness. The ModelForm validation will (essentially) attempt to > get() a Responsable object with that nombre from the DB -- leaving it up to > the DB to find a match and return that one match, if it exists. The check > as you have written it is much less efficient since it requires retrieving > all Responsable objects from the DB and then manipulating them in Python. > Plus, it will not see 'Jose Lopez' as a duplicate of 'José López' -- as far > as Python is concerned these are different strings. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---