Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
django-debug-toolbar-request-history
Readme
Since version 3.0 of Django Debug Toolbar a built in history panel is available. More details can be found in this PR and the docs. As this functionality is being provided by the toolbar itself there will likely not be any further updates to this project (though if there are good reasons for an exception like supporting older versions of the toolbar it will be considered). Thanks to all those who've contributed to and used this project.
Adds a request history panel to Django Debug Toolbar for viewing stats for different requests (with the option for ajax support).
pip install django-debug-toolbar-request-history
Then add the panel to DEBUG_TOOLBAR_PANELS
(see the config section for more details).
Note: only Django Debug Toolbar versions 2.0 and higher are now supported. For older versions try:
pip install django-debug-toolbar-request-history==0.0.11
or for the development version:
pip install -e git+https://github.com/djsutho/django-debug-toolbar-request-history.git#egg=django-debug-toolbar-request-history
Notes
Due to django-debug-toolbar reliance on thread-local:
To DEBUG_TOOLBAR_PANELS
add 'ddt_request_history.panels.request_history.RequestHistoryPanel'
e.g.:
DEBUG_TOOLBAR_PANELS = [
'ddt_request_history.panels.request_history.RequestHistoryPanel', # Here it is
'debug_toolbar.panels.versions.VersionsPanel',
'debug_toolbar.panels.timer.TimerPanel',
'debug_toolbar.panels.settings.SettingsPanel',
'debug_toolbar.panels.headers.HeadersPanel',
'debug_toolbar.panels.request.RequestPanel',
'debug_toolbar.panels.sql.SQLPanel',
'debug_toolbar.panels.templates.TemplatesPanel',
'debug_toolbar.panels.staticfiles.StaticFilesPanel',
'debug_toolbar.panels.cache.CachePanel',
'debug_toolbar.panels.signals.SignalsPanel',
'debug_toolbar.panels.logging.LoggingPanel',
'debug_toolbar.panels.redirects.RedirectsPanel',
'debug_toolbar.panels.profiling.ProfilingPanel',
]
To change the number of stored requests add RESULTS_STORE_SIZE
to DEBUG_TOOLBAR_CONFIG
e.g.:
DEBUG_TOOLBAR_CONFIG = {
'RESULTS_STORE_SIZE': 100,
}
FAQs
Request History Panel for Django Debug Toolbar
We found that django-debug-toolbar-request-history demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.