Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #17012 - Removed references to the 'hasNoProfanities' validator…

…. Refs #8794.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 510ea906f7e3fcf7bf80b35302d90373b7dffb3d 1 parent b1b1da1
Aymeric Augustin aaugustin authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 django/conf/global_settings.py
  2. +2 −2 docs/ref/settings.txt
4 django/conf/global_settings.py
View
@@ -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 = ()
##################
4 docs/ref/settings.txt
View
@@ -1488,8 +1488,8 @@ PROFANITIES_LIST
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
Please sign in to comment.
Something went wrong with that request. Please try again.