diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2010-10-07 15:13:00 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2010-10-07 15:13:00 +0000 |
| commit | edd767d2612d891a906268cf590571f541dd164f (patch) | |
| tree | 20cae177f4b8514f0709d60692cd1f323e201683 | |
| parent | 157583f9165a267f717ef9e429b1e6e2542683fb (diff) | |
Set default PROFANITIES_LIST setting to an empty tuple. This is technically 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
| -rw-r--r-- | django/conf/global_settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index cd85ce0641..db0110e472 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -439,7 +439,7 @@ COMMENTS_ALLOW_PROFANITIES = False # 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. |
