Removed special-case test for '_files' URL in common middleware -- thanks, Jeremy Dunck

git-svn-id: http://code.djangoproject.com/svn/django/trunk@513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-16 00:47:53 +00:00
parent 071037ff80
commit 00da60e932
1 changed files with 0 additions and 3 deletions

View File

@ -98,7 +98,4 @@ def _is_ignorable_404(uri):
for end in settings.IGNORABLE_404_ENDS: for end in settings.IGNORABLE_404_ENDS:
if uri.endswith(end): if uri.endswith(end):
return True return True
if '_files' in uri:
# URI is probably from a locally-saved copy of the page.
return True
return False return False