Matthias Kestenholz
Matthias Kestenholz
Ah no, forget about that. We should do the same thing Django's admindocs app does, see https://github.com/django/django/blob/9a22d1769b042a88741f0ff3087f10d94f325d86/django/contrib/admindocs/utils.py#L26-L32
Do you want to submit this as a pull request? I think the code looks fine; if the testsuite passes then we're good.
Postgres also suppors EXPLAIN. Which database are you referring to?
Django has some support for `.explain()` since 2017 (https://github.com/django/django/commit/c1c163b42717ed5e051098ebf0e2f5c77810f20e), maybe we could leverage this. Or maybe insert an additional clause here: https://github.com/jazzband/django-debug-toolbar/blob/58f374a426a6b10dcf86554f6d9c71226b4b350f/debug_toolbar/panels/sql/views.py#L47-L55 -- that should work too and is probably...
That's *very* surprising. The redirects panel doesn't do that much: https://github.com/jazzband/django-debug-toolbar/blob/master/debug_toolbar/panels/redirects.py I'm really not sure why this panel should slow down your page that much especially when no redirects happen...
I'm using Python 3.9 as well, I don't think Python is the problem here. I have no idea what the problem might be :/
I'm closing this pull request because of inactivity, not rejecting the feature. Please resubmit if you still want to work on this, after resolving the conflicts and adding a unit...
We had massive slowdowns with Django 1.11 that were reported in #910. I thought those were fixed but your report suggests that this isn't the case. Do you have a...
@timthelion What you're reporting sounds almost certainly like a different issue to me.
Sounds good. I can't promise much, but I'll certainly review/provide feedback. I'm not sure I understand whether you're proposing to add another middleware besides the current one, or if you'd...