Hi.  I'm using the latest development version (svn'd today).

I think I'm missing something on hasNoProfanities.  I have the following in
my model:


from django.core import validators
...
        content = models.TextField(validator_list=[validators.hasNoProfanities])


and in my settings.py file I have

PROFANITIES_LIST = (...) # I have not shown the words here, to avoid
spreading profanities


but when I use the site, with profane words, nothing happens.  Do I have to
do something extra?  (Should I do a manual call to the validator somehow,
e.g. after cleaning the data?)

I'm sorry to post a newbie question.  I guess the thing is that I don't
really know how to use *any* validator.
-- 
View this message in context: 
http://www.nabble.com/hasNoProfanities-doesn%27t-work-tp17291988p17291988.html
Sent from the django-users mailing list archive at Nabble.com.

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

Reply via email to