Hi, I would like to change the 'already exists' message when one adds a record that duplicates a unique one in the table. Nearest I can tell, the fields.error_messages do not offer a way to alter that message.
Here's my basic code: class AAForm( ModelForm ): def __init__(self,*args,**kwargs): super(AAForm, self).__init__(*args,**kwargs) self.fields['fullname'].error_messages = { 'required':'Be there no name?', 'already_exists':'blah' #<-- this one is a dud } class Meta: model = AuthorArtist \d --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---