

def _is_ignorable_404(uri):
    "\n    Returns True if a 404 at the given URL *shouldn't* notify the site managers.\n    "
    return any((pattern.search(uri) for pattern in getattr(settings, 'IGNORABLE_404_URLS', ())))

dataset/ETHPy150Open orcasgit/django-request-log/log/models.py _is_ignorable_404/original