Skip to content

Commit 742fc0a

Browse files
committed
added previous missing comment and modfied docs
1 parent df16a67 commit 742fc0a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

debug_toolbar/panels/redirects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def _process_response(self, response):
2626
status_line = f"{response.status_code} {response.reason_phrase}"
2727
cookies = response.cookies
2828
context = {"redirect_to": redirect_to, "status_line": status_line}
29+
# Using SimpleTemplateResponse avoids running global context processors.
2930
response = SimpleTemplateResponse(
3031
"debug_toolbar/redirect.html", context
3132
)

docs/architecture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Problematic Parts
8282
- Support for async and multi-threading: ``debug_toolbar.middleware.DebugToolbarMiddleware``
8383
is now async compatible and can process async requests. However certain
8484
panels such as ``SQLPanel``, ``TimerPanel``, ``StaticFilesPanel``,
85-
``RequestPanel``, ``RedirectsPanel`` and ``ProfilingPanel`` aren't fully
85+
``RequestPanel``and ``ProfilingPanel`` aren't fully
8686
compatible and currently being worked on. For now, these panels
8787
are disabled by default when running in async environment.
8888
follow the progress of this issue in `Async compatible toolbar project <https://github.com/orgs/jazzband/projects/9>`_.

0 commit comments

Comments
 (0)