MCPcopy
hub / github.com/django/django / callable

Function callable

tests/view_tests/views.py:35–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 # Make sure that a callable that raises an exception in the stack frame's
34 # local vars won't hijack the technical 500 response (#15025).
35 def callable():
36 raise Exception
37
38 try:
39 raise Exception

Callers 15

resolve_urlFunction · 0.85
check_user_modelFunction · 0.85
_getMethod · 0.85
get_latest_lastmodMethod · 0.85
indexFunction · 0.85
sitemapFunction · 0.85
_get_dynamic_attrMethod · 0.85
get_view_on_site_urlMethod · 0.85
lookup_allowedMethod · 0.85
get_actionMethod · 0.85
lookup_fieldFunction · 0.85
label_for_fieldFunction · 0.85

Calls

no outgoing calls

Tested by 4

_assert_containsMethod · 0.68
getpassMethod · 0.68
mock_inputFunction · 0.68