git-svn-id: http://code.djangoproject.com/svn/django/trunk@16935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b1b1da1eac
commit
510ea906f7
|
@ -455,8 +455,8 @@ CACHE_MIDDLEWARE_ALIAS = 'default'
|
||||||
|
|
||||||
COMMENTS_ALLOW_PROFANITIES = False
|
COMMENTS_ALLOW_PROFANITIES = False
|
||||||
|
|
||||||
# The profanities that will trigger a validation error in the
|
# The profanities that will trigger a validation error in
|
||||||
# 'hasNoProfanities' validator. All of these should be in lowercase.
|
# CommentDetailsForm.clean_comment. All of these should be in lowercase.
|
||||||
PROFANITIES_LIST = ()
|
PROFANITIES_LIST = ()
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|
|
@ -1488,8 +1488,8 @@ PROFANITIES_LIST
|
||||||
|
|
||||||
Default: ``()`` (Empty tuple)
|
Default: ``()`` (Empty tuple)
|
||||||
|
|
||||||
A tuple of profanities, as strings, that will trigger a validation error when
|
A tuple of profanities, as strings, that will be forbidden in comments when
|
||||||
the ``hasNoProfanities`` validator is called.
|
:setting:`COMMENTS_ALLOW_PROFANITIES` is ``True``.
|
||||||
|
|
||||||
.. setting:: RESTRUCTUREDTEXT_FILTER_SETTINGS
|
.. setting:: RESTRUCTUREDTEXT_FILTER_SETTINGS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue