--- /tmp/python-django-debug-toolbar-3.2.1-1npdk0_5z/debian/python-django-debug-toolbar-doc_3.2.1-1_all.deb
+++ python-django-debug-toolbar-doc_3.2.1-1_all.deb
├── file list
│ @@ -1,3 +1,3 @@
│ -rw-r--r-- 0 0 0 4 2021-06-03 07:45:31.000000 debian-binary
│ --rw-r--r-- 0 0 0 1848 2021-06-03 07:45:31.000000 control.tar.xz
│ --rw-r--r-- 0 0 0 51800 2021-06-03 07:45:31.000000 data.tar.xz
│ +-rw-r--r-- 0 0 0 1852 2021-06-03 07:45:31.000000 control.tar.xz
│ +-rw-r--r-- 0 0 0 51808 2021-06-03 07:45:31.000000 data.tar.xz
├── control.tar.xz
│ ├── control.tar
│ │ ├── ./md5sums
│ │ │ ├── ./md5sums
│ │ │ │┄ Files differ
├── data.tar.xz
│ ├── data.tar
│ │ ├── file list
│ │ │ @@ -29,17 +29,17 @@
│ │ │ -rw-r--r-- 0 root (0) root (0) 38902 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/changes.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 5674 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/checks.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 8322 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/commands.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 21571 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/configuration.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 16459 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/contributing.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 9764 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/genindex.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 9648 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/index.html
│ │ │ --rw-r--r-- 0 root (0) root (0) 15523 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/installation.html
│ │ │ +-rw-r--r-- 0 root (0) root (0) 15524 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/installation.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 783 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/objects.inv
│ │ │ --rw-r--r-- 0 root (0) root (0) 43157 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/panels.html
│ │ │ +-rw-r--r-- 0 root (0) root (0) 43160 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/panels.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 3115 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/search.html
│ │ │ -rw-r--r-- 0 root (0) root (0) 16584 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/searchindex.js
│ │ │ -rw-r--r-- 0 root (0) root (0) 9809 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/tips.html
│ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/_static/doctools.js -> ../../../../javascript/sphinxdoc/1.0/doctools.js
│ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/_static/jquery.js -> ../../../../javascript/sphinxdoc/1.0/jquery.js
│ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/_static/language_data.js -> ../../../../javascript/sphinxdoc/1.0/language_data.js
│ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2021-06-03 07:45:31.000000 ./usr/share/doc/python-django-debug-toolbar-doc/html/_static/searchtools.js -> ../../../../javascript/sphinxdoc/1.0/searchtools.js
│ │ ├── ./usr/share/doc/python-django-debug-toolbar-doc/html/changes.html
│ │ │ @@ -138,15 +138,15 @@
│ │ │ single panel, the Timer panel. Third party panels can use this property to
│ │ │ add scripts rather then embedding them in the content HTML.
│ │ │ Switched from JSHint to ESLint. Added an ESLint job to the Travis CI matrix.
│ │ │ Debug toolbar state which is only needed in the JavaScript code now uses
│ │ │ localStorage
.
│ │ │ Updated the code to avoid a few deprecation warnings and resource warnings.
│ │ │ Started loading JavaScript as ES6 modules.
│ │ │ -Added support for cache.touch()
when
│ │ │ +
Added support for cache.touch()
when
│ │ │ using django-debug-toolbar.
│ │ │ Eliminated more inline CSS.
│ │ │ Updated tox.ini
and Makefile
to use isort>=5.
│ │ │ Increased RESULTS_CACHE_SIZE to 25 to better support AJAX requests.
│ │ │ Fixed the close button CSS by explicitly specifying the
│ │ │ box-sizing
property.
│ │ │ Simplified the isort
configuration by taking advantage of isort’s
│ │ ├── ./usr/share/doc/python-django-debug-toolbar-doc/html/checks.html
│ │ │ @@ -39,15 +39,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
System checks
│ │ │ -
The following system checks help verify the Django
│ │ │ +
The following system checks help verify the Django
│ │ │ Debug Toolbar setup and configuration:
│ │ │
│ │ │ debug_toolbar.W001: debug_toolbar.middleware.DebugToolbarMiddleware
│ │ │ is missing from MIDDLEWARE
.
│ │ │ debug_toolbar.W002: debug_toolbar.middleware.DebugToolbarMiddleware
│ │ │ occurs multiple times in MIDDLEWARE
.
│ │ │ debug_toolbar.W003: debug_toolbar.middleware.DebugToolbarMiddleware
│ │ ├── ./usr/share/doc/python-django-debug-toolbar-doc/html/installation.html
│ │ │ @@ -105,22 +105,22 @@
│ │ │
│ │ │
│ │ │
│ │ │
Warning
│ │ │
The order of MIDDLEWARE
is important. You should include the Debug
│ │ │ Toolbar middleware as early as possible in the list. However, it must come
│ │ │ after any other middleware that encodes the response’s content, such as
│ │ │ -GZipMiddleware
.
│ │ │ +
GZipMiddleware
.
│ │ │
│ │ │
│ │ │
│ │ │
Configuring Internal IPs
│ │ │
The Debug Toolbar is shown only if your IP address is listed in the
│ │ │ -INTERNAL_IPS
setting. This means that for local
│ │ │ -development, you must add '127.0.0.1'
to INTERNAL_IPS
;
│ │ │ +INTERNAL_IPS
setting. This means that for local
│ │ │ +development, you must add '127.0.0.1'
to INTERNAL_IPS
;
│ │ │ you’ll need to create this setting if it doesn’t already exist in your
│ │ │ settings module:
│ │ │
INTERNAL_IPS = [
│ │ │ # ...
│ │ │ '127.0.0.1',
│ │ │ # ...
│ │ │ ]
│ │ │ @@ -130,15 +130,15 @@
│ │ │ should be shown with the SHOW_TOOLBAR_CALLBACK
│ │ │ option. This option allows you to specify a custom function for this purpose.
│ │ │
│ │ │
│ │ │
Troubleshooting
│ │ │
On some platforms, the Django runserver
command may use incorrect content
│ │ │ types for static assets. To guess content types, Django relies on the
│ │ │ -mimetypes
module from the Python standard library, which itself relies
│ │ │ +mimetypes
module from the Python standard library, which itself relies
│ │ │ on the underlying platform’s map files. If you find improper content types for
│ │ │ certain files, it is most likely that the platform’s map files are incorrect or
│ │ │ need to be updated. This can be achieved, for example, by installing or
│ │ │ updating the mailcap
package on a Red Hat distribution, mime-support
on
│ │ │ a Debian distribution, or by editing the keys under HKEY_CLASSES_ROOT
in
│ │ │ the Windows registry.
│ │ │
│ │ ├── ./usr/share/doc/python-django-debug-toolbar-doc/html/panels.html
│ │ │ @@ -155,15 +155,15 @@
│ │ │
│ │ │
Logging
│ │ │
│ │ │ -
│ │ │ class
debug_toolbar.panels.logging.
LoggingPanel
│ │ │
│ │ │
│ │ │ -
Logging output via Python’s built-in logging
module.
│ │ │ +
Logging output via Python’s built-in logging
module.
│ │ │
│ │ │
│ │ │
Redirects
│ │ │
│ │ │ -
│ │ │ class
debug_toolbar.panels.redirects.
RedirectsPanel
│ │ │
│ │ │ @@ -411,22 +411,22 @@
│ │ │
Unless the toolbar or this panel is disabled, this method will be
│ │ │ called late in the middleware. It should be idempotent.
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │
record_stats
(stats)
│ │ │ -Store data gathered by the panel. stats
is a dict
.
│ │ │ +Store data gathered by the panel. stats
is a dict
.
│ │ │ Each call to record_stats
updates the statistics dictionary.
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │
get_stats
()
│ │ │ -Access data stored by the panel. Returns a dict
.
│ │ │ +Access data stored by the panel. Returns a dict
.
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │
process_request
(request)
│ │ │ Like __call__ in Django’s middleware.
│ │ │ Write panel logic related to the request there. Save data with