mirror of
https://github.com/django/django.git
synced 2025-10-30 17:16:10 +00:00
Fixed pyinotify performance regression in 15f82c7011
Refs #9722. Thanks Tim Graham for the review.
This commit is contained in:
@@ -12,6 +12,10 @@ class StaticFilesHandler(WSGIHandler):
|
||||
WSGI middleware that intercepts calls to the static files directory, as
|
||||
defined by the STATIC_URL setting, and serves those files.
|
||||
"""
|
||||
# May be used to differentiate between handler types (e.g. in a
|
||||
# request_finished signal)
|
||||
handles_files = True
|
||||
|
||||
def __init__(self, application):
|
||||
self.application = application
|
||||
self.base_url = urlparse(self.get_base_url())
|
||||
|
||||
Reference in New Issue
Block a user