From 9a336798301414580acf5329431e23dffb4fa87f Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Tue, 9 Jul 2013 11:18:17 -0400 Subject: [PATCH] Adding 'careers', 'adults', 'hospital', 'childcare' to RESTRICTED_WORDS --- .../courses/management/commands/sanitize_usde_schools.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/karmaworld/apps/courses/management/commands/sanitize_usde_schools.py b/karmaworld/apps/courses/management/commands/sanitize_usde_schools.py index d915b89..8fd1166 100644 --- a/karmaworld/apps/courses/management/commands/sanitize_usde_schools.py +++ b/karmaworld/apps/courses/management/commands/sanitize_usde_schools.py @@ -22,7 +22,11 @@ RESTRICTED_WORDS = [ 'beauty', 'nail', 'acupuncture', - 'chiropractic'] + 'chiropractic', + 'careers', + 'adults', + 'hospital', + 'childcare'] class Command(BaseCommand): """ Delete Schools that contain RESTRICTED WORDS in their names """ -- 2.25.1