MCPcopy
hub / github.com/django/django / __call__

Method __call__

django/test/testcases.py:1703–1706  ·  view source on GitHub ↗
(self, environ, start_response)

Source from the content-addressed store, hash-verified

1701 return serve(request, final_rel_path, document_root=self.get_base_dir())
1702
1703 def __call__(self, environ, start_response):
1704 if not self._should_handle(get_path_info(environ)):
1705 return self.application(environ, start_response)
1706 return super().__call__(environ, start_response)
1707
1708
1709class _StaticFilesHandler(FSFilesHandler):

Callers

nothing calls this directly

Calls 3

_should_handleMethod · 0.95
get_path_infoFunction · 0.90
__call__Method · 0.45

Tested by

no test coverage detected