Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Adrian Holovaty authored October 07, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/conf/global_settings.py
2  django/conf/global_settings.py
@@ -439,7 +439,7 @@
439 439
 
440 440
 # The profanities that will trigger a validation error in the
441 441
 # 'hasNoProfanities' validator. All of these should be in lowercase.
442  
-PROFANITIES_LIST = ('asshat', 'asshead', 'asshole', 'cunt', 'fuck', 'gook', 'nigger', 'shit')
  442
+PROFANITIES_LIST = ()
443 443
 
444 444
 # The group ID that designates which users are banned.
445 445
 # Set to None if you're not using it.

0 notes on commit edd767d

Please sign in to comment.
Something went wrong with that request. Please try again.