Is that only for comments, though? Guess I could genericize it. Managed to do so for karma, so I guess I could for profanities, too.
On Mar 8, 1:39 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > What I'd like to see (and maybe it's built-in somewhere and I've > > overlooked it) is some sort of naughty-word filter. > > Have a look at django.core.validators.hasNoProfanities, which looks > for a list of disallowed words in settings.PROFANITIES_LIST. If the > setting COMMENTS_ALLOW_PROFANITIES is False, django.contrib.comments > will apply that validator automatically to incoming comments. > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---