Skip to content

Commit e8848dc

Browse files
authored
Docs > Add a note on the profiling panel doc (#1899)
Add a note on the profiling panel document about python 3.12 and later.
1 parent d3f4dbd commit e8848dc

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

docs/changes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Pending
2020
* Deprecated the ``OBSERVE_REQUEST_CALLBACK`` setting and added check
2121
``debug_toolbar.W008`` to warn when it is present in
2222
``DEBUG_TOOLBAR_SETTINGS``.
23+
* Add a note on the profiling panel about using Python 3.12 and later
24+
about needing ``--nothreading``
2325

2426
4.3.0 (2024-02-01)
2527
------------------

docs/panels.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ Profiling information for the processing of the request.
123123
This panel is included but inactive by default. You can activate it by default
124124
with the ``DISABLE_PANELS`` configuration option.
125125

126+
For version of Python 3.12 and later you need to use
127+
``python -m manage runserver --nothreading``
128+
Concurrent requests don't work with the profiling panel.
129+
126130
The panel will include all function calls made by your project if you're using
127131
the setting ``settings.BASE_DIR`` to point to your project's root directory.
128132
If a function is in a file within that directory and does not include

docs/spelling_wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ mousedown
3636
mouseup
3737
multi
3838
neo
39+
nothreading
3940
paddings
4041
pre
4142
profiler
@@ -47,6 +48,7 @@ pyupgrade
4748
querysets
4849
refactoring
4950
resizing
51+
runserver
5052
spellchecking
5153
spooler
5254
stacktrace

0 commit comments

Comments
 (0)