Author: adrian
Date: 2010-10-07 10:13:00 -0500 (Thu, 07 Oct 2010)
New Revision: 13996

Modified:
   django/trunk/django/conf/global_settings.py
Log:
Set default PROFANITIES_LIST setting to an empty tuple. This is technically 
backwards-compatible if you rely on a Web framework providing you with a 
woefully incomplete list of naughty words. Fixes #8794

Modified: django/trunk/django/conf/global_settings.py
===================================================================
--- django/trunk/django/conf/global_settings.py 2010-10-06 22:56:52 UTC (rev 
13995)
+++ django/trunk/django/conf/global_settings.py 2010-10-07 15:13:00 UTC (rev 
13996)
@@ -439,7 +439,7 @@
 
 # The profanities that will trigger a validation error in the
 # 'hasNoProfanities' validator. All of these should be in lowercase.
-PROFANITIES_LIST = ('asshat', 'asshead', 'asshole', 'cunt', 'fuck', 'gook', 
'nigger', 'shit')
+PROFANITIES_LIST = ()
 
 # The group ID that designates which users are banned.
 # Set to None if you're not using it.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to