Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/django-commons/django-debug-toolbar
/ functions
Functions
780 in github.com/django-commons/django-debug-toolbar
⨍
Functions
780
◇
Types & classes
125
↳
Endpoints
26
↓ 2 callers
Method
serialize_rusage
(self, data)
debug_toolbar/panels/timer.py:69
↓ 2 callers
Function
setTheme
(theme)
debug_toolbar/static/debug_toolbar/js/toolbar.js:219
↓ 2 callers
Function
show_toolbar_with_docker
Default function to determine whether to show the toolbar on a given page.
debug_toolbar/middleware.py:44
↓ 2 callers
Function
sql_call_toolbar_model
Query one of the toolbar's models to test tracking of SQL queries.
tests/panels/test_sql.py:41
↓ 2 callers
Function
stub_require_toolbar_async_view
(request)
tests/test_decorators.py:21
↓ 2 callers
Function
stub_require_toolbar_view
(request)
tests/test_decorators.py:16
↓ 2 callers
Function
stub_view
(request)
tests/test_decorators.py:11
↓ 2 callers
Function
toolbar_request_id
()
tests/test_integration.py:52
↓ 2 callers
Method
url
(self, path, *args, **kwargs)
debug_toolbar/panels/staticfiles.py:19
↓ 1 callers
Method
__acall__
(self, request: HttpRequest)
debug_toolbar/middleware.py:153
↓ 1 callers
Method
__init__
(self, cache)
debug_toolbar/store.py:269
↓ 1 callers
Method
__init__
(self)
debug_toolbar/panels/alerts.py:15
↓ 1 callers
Method
_decode
(self, param)
debug_toolbar/panels/sql/tracking.py:136
↓ 1 callers
Function
_duplicate_query_key
(query)
debug_toolbar/panels/sql/panel.py:88
↓ 1 callers
Function
_get_sorted_keys
Helper function to get sorted keys if possible.
debug_toolbar/utils.py:242
↓ 1 callers
Method
_last_executed_query
Get the last executed query from the connection.
debug_toolbar/panels/sql/tracking.py:177
↓ 1 callers
Function
_monkey_patch_method
(cache, name, alias)
debug_toolbar/panels/cache.py:33
↓ 1 callers
Function
_process_dict
Process a dictionary into a list of (key, sanitized_value) tuples.
debug_toolbar/utils.py:261
↓ 1 callers
Function
_process_query_dict
Process a QueryDict into a list of (key, sanitized_value) tuples.
debug_toolbar/utils.py:250
↓ 1 callers
Method
_record_call
(self, cache, alias, name, original_method, args, kwargs)
debug_toolbar/panels/cache.py:144
↓ 1 callers
Method
_register_cache_table_for_sql_filtering
Add the cache table to DDT_MODELS. This ensures that when using DatabaseCache, the cache table's SQL queries don't appear in
debug_toolbar/store.py:309
↓ 1 callers
Function
_similar_query_key
(query)
debug_toolbar/panels/sql/panel.py:84
↓ 1 callers
Function
_stack_frames
(*, skip=0)
debug_toolbar/utils.py:285
↓ 1 callers
Method
_store_call_info
( self, name, time_taken, return_value, args, kwargs,
debug_toolbar/panels/cache.py:108
↓ 1 callers
Method
add_node
(self, func_list, func, max_depth, cum_time)
debug_toolbar/panels/profiling.py:165
↓ 1 callers
Method
aenable_instrumentation
Async version of enable instrumentation. For async capable panels having async logic for instrumentation.
debug_toolbar/panels/sql/panel.py:198
↓ 1 callers
Method
aprocess_request
Async version of process_request. used for accessing the response by awaiting it when running in ASGI.
debug_toolbar/panels/redirects.py:31
↓ 1 callers
Function
async_sql_call
(*, use_iterator=False)
tests/panels/test_sql.py:53
↓ 1 callers
Function
check_template_config
Checks if a template configuration is valid. The toolbar requires either the toolbars to be unspecified or ``django.template.loaders.app
debug_toolbar/apps.py:58
↓ 1 callers
Function
concurrent_async_sql_call
(*, use_iterator=False)
tests/panels/test_sql.py:60
↓ 1 callers
Function
create_webdriver
(browser, headless)
example/screenshot.py:32
↓ 1 callers
Function
create_webdriver_options
(browser, headless)
example/screenshot.py:24
↓ 1 callers
Method
cumtime
(self)
debug_toolbar/panels/profiling.py:111
↓ 1 callers
Method
cumtime_per_call
(self)
debug_toolbar/panels/profiling.py:123
↓ 1 callers
Method
current_instance
Return the currently enabled CachePanel instance or None. If a request is in process with a CachePanel enabled, this will return tha
debug_toolbar/panels/cache.py:78
↓ 1 callers
Method
current_transaction_id
Return the current synthetic transaction ID for the specified DB alias.
debug_toolbar/panels/sql/panel.py:135
↓ 1 callers
Function
debug_toolbar_installed_when_running_tests_check
Check that the toolbar is not being used when tests are running
debug_toolbar/apps.py:243
↓ 1 callers
Function
difference
(setA, setB)
debug_toolbar/static/debug_toolbar/js/history.js:5
↓ 1 callers
Method
elide_until_from
(stream)
debug_toolbar/panels/sql/utils.py:29
↓ 1 callers
Function
escaped_value
(token)
debug_toolbar/panels/sql/utils.py:74
↓ 1 callers
Function
example_server
()
example/screenshot.py:37
↓ 1 callers
Method
explain
(self)
debug_toolbar/panels/sql/forms.py:69
↓ 1 callers
Function
flat_loaders
Recursively flatten the settings list of template loaders. Check for (loader, [child_loaders]) tuples. Django's default cach
debug_toolbar/apps.py:68
↓ 1 callers
Method
from_store
( cls, request_id: str, panel_id: str | None = None )
debug_toolbar/toolbar.py:236
↓ 1 callers
Method
func_std_string
(self)
debug_toolbar/panels/profiling.py:57
↓ 1 callers
Method
gen_app_versions
(self)
debug_toolbar/panels/versions.py:39
↓ 1 callers
Function
getCSSWidth
(stat, endStat)
debug_toolbar/static/debug_toolbar/js/timer.js:17
↓ 1 callers
Method
get_headers
(request: HttpRequest, panels: list[Panel])
debug_toolbar/middleware.py:217
↓ 1 callers
Method
get_interception_response
Hook method to allow subclasses to customize the interception response.
debug_toolbar/panels/redirects.py:46
↓ 1 callers
Function
get_isolation_level_display
(vendor, level)
debug_toolbar/panels/sql/panel.py:24
↓ 1 callers
Method
get_observe_request
()
debug_toolbar/toolbar.py:196
↓ 1 callers
Function
get_response
(request)
tests/test_integration.py:53
↓ 1 callers
Method
get_source_file
(self, frame)
debug_toolbar/utils.py:302
↓ 1 callers
Function
get_stack
Get a list of records for a frame and all higher (calling) frames. Each record contains a frame object, filename, line number, function
debug_toolbar/utils.py:266
↓ 1 callers
Method
get_stack_trace
( self, *, excluded_modules: Sequence[str] | None = None, include_locals: bool
debug_toolbar/utils.py:321
↓ 1 callers
Method
get_staticfiles_finders
Returns a sorted mapping between the finder path and the list of relative and file system paths which that finder was able to
debug_toolbar/panels/staticfiles.py:102
↓ 1 callers
Function
get_template_context
( node: Node, context: stubs.RequestContext, context_lines: int = 3 )
debug_toolbar/utils.py:135
↓ 1 callers
Function
get_template_source_from_exception_info
( node: Node, context: stubs.RequestContext )
debug_toolbar/utils.py:152
↓ 1 callers
Function
get_transaction_status_display
(vendor, level)
debug_toolbar/panels/sql/panel.py:56
↓ 1 callers
Method
get_urls
(cls)
debug_toolbar/toolbar.py:161
↓ 1 callers
Method
get_version
(self)
tests/panels/test_versions.py:17
↓ 1 callers
Method
get_version_from_app
(self, app)
debug_toolbar/panels/versions.py:55
↓ 1 callers
Function
getframeinfo
Get information about a frame or traceback object. A tuple of five things is returned: the filename, the line number of the current line
debug_toolbar/utils.py:181
↓ 1 callers
Method
indent
(self)
debug_toolbar/panels/profiling.py:131
↓ 1 callers
Method
initialized_caches
Return the initialized caches and aliases. This does the same as`caches.all(initialized_only=True)`, but keeps the alias wit
debug_toolbar/panels/cache.py:213
↓ 1 callers
Function
insertBrowserTiming
()
debug_toolbar/static/debug_toolbar/js/timer.js:5
↓ 1 callers
Function
is_http_header
(wsgi_key)
debug_toolbar/panels/headers.py:55
↓ 1 callers
Function
listcomp_view
(request)
tests/views.py:127
↓ 1 callers
Function
main
()
example/screenshot.py:64
↓ 1 callers
Function
observe_request
Determine whether to update the toolbar from a client side request.
debug_toolbar/toolbar.py:206
↓ 1 callers
Function
parse_args
()
example/screenshot.py:14
↓ 1 callers
Function
patch_jinja_render
()
debug_toolbar/panels/templates/jinja2.py:8
↓ 1 callers
Method
process_context_list
(self, context_layers)
debug_toolbar/panels/templates/panel.py:132
↓ 1 callers
Method
profile
(self)
debug_toolbar/panels/sql/forms.py:88
↓ 1 callers
Method
record
(self, **kwargs)
debug_toolbar/panels/sql/panel.py:148
↓ 1 callers
Method
reformat_sql
(self)
debug_toolbar/panels/sql/forms.py:114
↓ 1 callers
Function
refreshHistory
()
debug_toolbar/static/debug_toolbar/js/history.js:20
↓ 1 callers
Method
render_toolbar
Renders the overall Toolbar with panels inside.
debug_toolbar/toolbar.py:93
↓ 1 callers
Method
request
(self, **request)
tests/base.py:23
↓ 1 callers
Method
run_checks
Check that the integration is configured correctly for the panel. This will be called as a part of the Django checks system when the
debug_toolbar/panels/__init__.py:291
↓ 1 callers
Function
safe_pformat
(obj)
debug_toolbar/panels/settings.py:11
↓ 1 callers
Method
select
(self)
debug_toolbar/panels/sql/forms.py:59
↓ 1 callers
Method
setUp
(self)
tests/base.py:75
↓ 1 callers
Function
set_viewport_size
(selenium, width, height)
example/screenshot.py:44
↓ 1 callers
Function
show_toolbar_func_or_path
Fetch the show toolbar callback from settings Cached to avoid importing multiple times.
debug_toolbar/middleware.py:76
↓ 1 callers
Method
subfuncs
(self)
debug_toolbar/panels/profiling.py:89
↓ 1 callers
Function
submit_form
(selenium, data)
example/screenshot.py:55
↓ 1 callers
Function
switchHistory
(newRequestId)
debug_toolbar/static/debug_toolbar/js/history.js:74
↓ 1 callers
Function
tidy_stacktrace
Clean up stacktrace and remove all entries that are excluded by the HIDE_IN_STACKTRACES setting. ``stack`` should be a list of frame tup
debug_toolbar/utils.py:47
↓ 1 callers
Method
title
Title shown in the panel when it's displayed in full screen. Mandatory, unless the panel sets :attr:`has_content` to ``False``.
debug_toolbar/panels/__init__.py:92
↓ 1 callers
Function
toolbar_request_id
()
tests/test_integration_async.py:33
↓ 1 callers
Method
tottime
(self)
debug_toolbar/panels/profiling.py:108
↓ 1 callers
Method
tottime_per_call
(self)
debug_toolbar/panels/profiling.py:115
↓ 1 callers
Function
unmangle
(wsgi_key)
debug_toolbar/panels/headers.py:61
↓ 1 callers
Function
wrap_cursor
(connection)
debug_toolbar/panels/sql/tracking.py:59
Method
__call__
(self, request: HttpRequest)
debug_toolbar/middleware.py:128
Method
__call__
(self, request: HttpRequest)
debug_toolbar/_stubs.py:31
Method
__call__
(self, request)
tests/middleware.py:13
Method
__contains__
(self, x)
tests/test_integration_async.py:90
Method
__contains__
(self, x)
tests/test_integration.py:106
← previous
next →
101–200 of 780, ranked by callers