Loading django/conf/global_settings.py +2 −2 Original line number Diff line number Diff line Loading @@ -455,8 +455,8 @@ CACHE_MIDDLEWARE_ALIAS = 'default' 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 = () ################## Loading docs/ref/settings.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
django/conf/global_settings.py +2 −2 Original line number Diff line number Diff line Loading @@ -455,8 +455,8 @@ CACHE_MIDDLEWARE_ALIAS = 'default' 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 = () ################## Loading
docs/ref/settings.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading