Skip to content

Commit

Permalink
Docs > Add a note on the profiling panel doc (#1899)
Browse files Browse the repository at this point in the history
Add a note on the profiling panel document about python 3.12 and later.
  • Loading branch information
elineda committed Mar 21, 2024
1 parent d3f4dbd commit e8848dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changes.rst
Expand Up @@ -20,6 +20,8 @@ Pending
* Deprecated the ``OBSERVE_REQUEST_CALLBACK`` setting and added check
``debug_toolbar.W008`` to warn when it is present in
``DEBUG_TOOLBAR_SETTINGS``.
* Add a note on the profiling panel about using Python 3.12 and later
about needing ``--nothreading``

4.3.0 (2024-02-01)
------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/panels.rst
Expand Up @@ -123,6 +123,10 @@ Profiling information for the processing of the request.
This panel is included but inactive by default. You can activate it by default
with the ``DISABLE_PANELS`` configuration option.

For version of Python 3.12 and later you need to use
``python -m manage runserver --nothreading``
Concurrent requests don't work with the profiling panel.

The panel will include all function calls made by your project if you're using
the setting ``settings.BASE_DIR`` to point to your project's root directory.
If a function is in a file within that directory and does not include
Expand Down
2 changes: 2 additions & 0 deletions docs/spelling_wordlist.txt
Expand Up @@ -36,6 +36,7 @@ mousedown
mouseup
multi
neo
nothreading
paddings
pre
profiler
Expand All @@ -47,6 +48,7 @@ pyupgrade
querysets
refactoring
resizing
runserver
spellchecking
spooler
stacktrace
Expand Down

0 comments on commit e8848dc

Please sign in to comment.