예제 #1
0
 def hasNoProfanities(self, field_data, all_data):
     if settings.COMMENTS_ALLOW_PROFANITIES:
         return
     return validators.hasNoProfanities(field_data, all_data)
예제 #2
0
 def hasNoProfanities(self, field_data, all_data):
     if settings.COMMENTS_ALLOW_PROFANITIES:
         return
     return validators.hasNoProfanities(field_data, all_data)