def hasNoProfanities(self, field_data, all_data): if settings.COMMENTS_ALLOW_PROFANITIES: return return validators.hasNoProfanities(field_data, all_data)