def is_spam(request, form, url):
 for spam_filter_path in settings.SPAM_FILTERS:
  spam_filter = import_dotted_path(spam_filter_path)
  if spam_filter(request, form, url):
   return True

def is_spam ( request , form , url ) : for spam_filter_path in settings . SPAM_FILTERS : spam_filter = import_dotted_path ( spam_filter_path ) if spam_filter ( request , form , url ) : return True
main entry point for spam handling - called from the comment view and page processor for mezzanine .