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:
parent
071037ff80
commit
00da60e932
|
@ -98,7 +98,4 @@ def _is_ignorable_404(uri):
|
|||
for end in settings.IGNORABLE_404_ENDS:
|
||||
if uri.endswith(end):
|
||||
return True
|
||||
if '_files' in uri:
|
||||
# URI is probably from a locally-saved copy of the page.
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue