Author: aaugustin
Date: 2011-10-07 01:35:20 -0700 (Fri, 07 Oct 2011)
New Revision: 16935

Modified:
   django/trunk/django/conf/global_settings.py
   django/trunk/docs/ref/settings.txt
Log:
Fixed #17012 - Removed references to the 'hasNoProfanities' validator. Refs 
#8794.



Modified: django/trunk/django/conf/global_settings.py
===================================================================
--- django/trunk/django/conf/global_settings.py 2011-10-07 00:41:25 UTC (rev 
16934)
+++ django/trunk/django/conf/global_settings.py 2011-10-07 08:35:20 UTC (rev 
16935)
@@ -455,8 +455,8 @@
 
 COMMENTS_ALLOW_PROFANITIES = False
 
-# The profanities that will trigger a validation error in the
-# 'hasNoProfanities' validator. All of these should be in lowercase.
+# The profanities that will trigger a validation error in
+# CommentDetailsForm.clean_comment. All of these should be in lowercase.
 PROFANITIES_LIST = ()
 
 ##################

Modified: django/trunk/docs/ref/settings.txt
===================================================================
--- django/trunk/docs/ref/settings.txt  2011-10-07 00:41:25 UTC (rev 16934)
+++ django/trunk/docs/ref/settings.txt  2011-10-07 08:35:20 UTC (rev 16935)
@@ -1488,8 +1488,8 @@
 
 Default: ``()`` (Empty tuple)
 
-A tuple of profanities, as strings, that will trigger a validation error when
-the ``hasNoProfanities`` validator is called.
+A tuple of profanities, as strings, that will be forbidden in comments when
+:setting:`COMMENTS_ALLOW_PROFANITIES` is ``True``.
 
 .. setting:: RESTRUCTUREDTEXT_FILTER_SETTINGS
 

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

Reply via email to