@@ -16,10 +16,10 @@ Change log
16
16
* Started running Selenium tests on Travis CI.
17
17
* Added a system check which prevents using django-debug-toolbar without
18
18
any enabled panels.
19
- * Added :func : `Panel.run_checks <debug_toolbar.panels.Panel.run_checks> `
20
- for panels to verify the configuration before the application starts.
19
+ * Added :meth : `Panel.run_checks() <debug_toolbar.panels.Panel.run_checks> ` for
20
+ panels to verify the configuration before the application starts.
21
21
* Validate the static file paths specified in ``STATICFILES_DIRS ``
22
- exist via :class: `StaticFilesPanel < debug_toolbar.panels.staticfiles.StaticFilesPanel> `
22
+ exist via :class: `~ debug_toolbar.panels.staticfiles.StaticFilesPanel `
23
23
* Introduced `prettier <https://prettier.io/ >`__ to format the frontend
24
24
code.
25
25
* Started accessing history views using GET requests since they do not
@@ -62,15 +62,17 @@ Change log
62
62
``localStorage ``.
63
63
* Updated the code to avoid a few deprecation warnings and resource warnings.
64
64
* Started loading JavaScript as ES6 modules.
65
- * Added support for ``cache.touch() `` when using django-debug-toolbar.
65
+ * Added support for :meth: `cache.touch() <django.core.caches.cache.touch> ` when
66
+ using django-debug-toolbar.
66
67
* Eliminated more inline CSS.
67
68
* Updated ``tox.ini `` and ``Makefile `` to use isort>=5.
68
69
* Increased RESULTS_CACHE_SIZE to 25 to better support AJAX requests.
69
70
* Fixed the close button CSS by explicitly specifying the
70
71
``box-sizing `` property.
71
72
* Simplified the ``isort `` configuration by taking advantage of isort's
72
73
``black `` profile.
73
- * Added HistoryPanel including support for AJAX requests.
74
+ * Added :class: `~debug_toolbar.panels.history.HistoryPanel ` including support
75
+ for AJAX requests.
74
76
75
77
**Backwards incompatible changes **
76
78
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -105,10 +107,13 @@ Change log
105
107
2.0 (2019-06-20)
106
108
----------------
107
109
108
- * Updated ``StaticFilesPanel `` to be compatible with Django 3.0.
109
- * The ``ProfilingPanel `` is now enabled but inactive by default.
110
+ * Updated :class: `~debug_toolbar.panels.staticfiles.StaticFilesPanel ` to be
111
+ compatible with Django 3.0.
112
+ * The :class: `~debug_toolbar.panels.profiling.ProfilingPanel ` is now enabled
113
+ but inactive by default.
110
114
* Fixed toggling of table rows in the profiling panel UI.
111
- * The ``ProfilingPanel `` no longer skips remaining panels or middlewares.
115
+ * The :class: `~debug_toolbar.panels.profiling.ProfilingPanel ` no longer skips
116
+ remaining panels or middlewares.
112
117
* Improved the installation documentation.
113
118
* Fixed a possible crash in the template panel.
114
119
* Added support for psycopg2 ``Composed `` objects.
@@ -120,17 +125,19 @@ Change log
120
125
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121
126
* Removed support for Python 2.
122
127
* Removed support for Django's deprecated ``MIDDLEWARE_CLASSES `` setting.
123
- * Restructured ``Panel `` to execute more like the new-style Django MIDDLEWARE.
124
- The ``Panel.__init__() `` method is now passed ``get_response `` as the first
125
- positional argument. The ``Panel.process_request() `` method must now always
128
+ * Restructured :class: `debug_toolbar.panels.Panel ` to execute more like the
129
+ new-style Django MIDDLEWARE. The ``Panel.__init__() `` method is now passed
130
+ ``get_response `` as the first positional argument. The
131
+ :meth: `debug_toolbar.panels.Panel.process_request ` method must now always
126
132
return a response. Usually this is the response returned by
127
133
``get_response() `` but the panel may also return a different response as is
128
- the case in the ``RedirectsPanel ``. Third party panels must adjust to this
129
- new architecture. ``Panel.process_response() `` and ``Panel.process_view() ``
130
- have been removed as a result of this change.
134
+ the case in the :class: `~debug_toolbar.panels.redirects.RedirectsPanel `.
135
+ Third party panels must adjust to this new architecture.
136
+ ``Panel.process_response() `` and ``Panel.process_view() `` have been removed
137
+ as a result of this change.
131
138
132
139
The deprecated API, ``debug_toolbar.panels.DebugPanel ``, has been removed.
133
- Third party panels should use `` debug_toolbar.panels.Panel ` ` instead.
140
+ Third party panels should use :class: ` debug_toolbar.panels.Panel ` instead.
134
141
135
142
The following deprecated settings have been removed:
136
143
0 commit comments