I'm using drf_spectacular as swagger for my django projects since drf_yasg is deprecated. I tried to use django_debug_toolbar alongside drf_spectacular and I followed all of the instructions. The debug_toolbar's icon appears in swagger but when I try to call any api, a 'Not Found' error keeps showing up repeatedly!
What is the problem? What should I do?


I found the solution! The problem was the order of urls!!!
Back then, the debug toolbar url was after static urls! I changed the order and it worked! However, I still can't understand why!