You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error is present in version 4.0.0 when making any request on an endpoint using django rest framework.
I see it has been probably fixed in the latest commit a6b65a7
| Traceback (most recent call last):
| File "/opt/pysetup/.venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
| response = get_response(request)
| File "/opt/pysetup/.venv/lib/python3.9/site-packages/sentry_sdk/integrations/django/middleware.py", line 176, in __call__
| return f(*args, **kwargs)
| File "/opt/pysetup/.venv/lib/python3.9/site-packages/debug_toolbar/middleware.py", line 64, in __call__
| panel.disable_instrumentation()
| File "/opt/pysetup/.venv/lib/python3.9/site-packages/debug_toolbar/panels/cache.py", line 217, in disable_instrumentation
| self._unmonkey_patch_cache(cache)
| File "/opt/pysetup/.venv/lib/python3.9/site-packages/debug_toolbar/panels/cache.py", line 171, in _unmonkey_patch_cache
| if original_method.__func__ == getattr(cache.__class__, name):
| AttributeError: 'function' object has no attribute '__func__'