Also, I'd like to customize the error returned when someone tries to
save the slug with invalid characters, such as spaces. That one
currently says "Enter a valid 'slug' consisting of letters, numbers,
underscores or hyphens." The terms slug doesn't make sense to some of
my users.

On Nov 5, 4:38 pm, aa56280 <aa56...@gmail.com> wrote:
> I have a ModelForm with a slug field with unique=True. I need to make
> the error message a bit more "friendly." Is there a way to override
> the default error message? The default is: "[model_name] with this
> [field_label] already exists."
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to