def _is_ignorable_404(uri):
 for start in settings.IGNORABLE_404_STARTS:
  if uri.startswith(start):
   return True
 for end in settings.IGNORABLE_404_ENDS:
  if uri.endswith(end):
   return True
 return False

def _is_ignorable_404 ( uri ) : for start in settings . IGNORABLE_404_STARTS : if uri . startswith ( start ) : return True for end in settings . IGNORABLE_404_ENDS : if uri . endswith ( end ) : return True return False
returns true if a 404 at the given url *shouldnt* notify the site managers .