On Thu, Nov 5, 2009 at 5:46 PM, aa56280 <aa56...@gmail.com> wrote:

>
> 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.
>
> This one is customizable, via:
http://docs.djangoproject.com/en/dev/ref/forms/fields/#error-messages

The key you want to override is 'invalid'.

Karen

--~--~---------~--~----~------------~-------~--~----~
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