Пример #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)