Skip to content

Commit

Permalink
Docs > Add a note on the profiling panel document about python 3.12 a…
Browse files Browse the repository at this point in the history
…nd after.
  • Loading branch information
elineda committed Mar 19, 2024
1 parent d3f4dbd commit b09c98f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ 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 document about python 3.12 and after.

4.3.0 (2024-02-01)
------------------
Expand Down
3 changes: 3 additions & 0 deletions docs/panels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ 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 after you need to add --nothreading to the runserver.
Concurrent requests don't work with the profiling.

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

0 comments on commit b09c98f

Please sign in to comment.