mirror of
https://github.com/django/django.git
synced 2025-09-30 14:01:21 +00:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue