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
toolbar will show when you login admin , however it will not show when you use Render or HttpResponse function in view function . like class Vue3API(APIView): def get(self, request, **kwargs): """ Return a list of all users. """ books = Book.objects.all() se = BookSerializerPro(books, many=True) # this code will show debug panel return Response(se.data) # this code will not show debug panel #return render(request, "register.html", {"foo": "bar"}) #return HttpResponse(content="tesing".encode())
i use the windows 10 even i have configure the HKEY_CLASSES_ROOT.js in register table !
Django | | 3.2.10
Python | | 3.9.1
debug_toolbar | Debug Toolbar | 3.2.4
The text was updated successfully, but these errors were encountered:
toolbar will show when you login admin , however it will not show when you use Render or HttpResponse function in view function . like
class Vue3API(APIView): def get(self, request, **kwargs): """ Return a list of all users. """ books = Book.objects.all() se = BookSerializerPro(books, many=True) # this code will show debug panel return Response(se.data) # this code will not show debug panel #return render(request, "register.html", {"foo": "bar"}) #return HttpResponse(content="tesing".encode())
i use the windows 10 even i have configure the HKEY_CLASSES_ROOT.js in register table !
Django | | 3.2.10
Python | | 3.9.1
debug_toolbar | Debug Toolbar | 3.2.4
The text was updated successfully, but these errors were encountered: