Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set default PROFANITIES_LIST setting to an empty tuple. This is techn…

…ically backwards-compatible if you rely on a Web framework providing you with a woefully incomplete list of naughty words. Fixes #8794

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit edd767d2612d891a906268cf590571f541dd164f 1 parent 157583f
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/conf/global_settings.py
View
2  django/conf/global_settings.py
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.