kennethreitz/dj-static — pull request #19 by goldibex (2013-12-11 01:34:25+00:00)
Title: Properly invoke StaticFilesHandler

Currently dj-static uses an inappropriate signature for creating a new StaticFilesHandler, causing it to crash out with the following error:

```
[ERROR] Error handling request
Traceback (most recent call last):
File "/Users/goldibex/Development/casetext/casetext/venv/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 126, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/Users/goldibex/Development/casetext/casetext/venv/lib/python2.7/site-packages/dj_static.py", line 67, in __call__
return self.debug_cling(environ, start_response)
File "/Users/goldibex/Development/casetext/casetext/venv/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 72, in __call__
return self.application(environ, start_response)
TypeError: 'str' object is not callable```

This patch corrects that.