django-debug-toolbar not showing up

前端 未结 27 1637
谎友^
谎友^ 2020-11-30 20:12

I looked at other questions and can\'t figure it out...

I did the following to install django-debug-toolbar:

  1. pip install django-debug-toolbar
27条回答
  •  温柔的废话
    2020-11-30 21:12

    Another thing that can cause the toolbar to remain hidden is if it cannot find the required static files. The debug_toolbar templates use the {{ STATIC_URL }} template tag, so make sure there is a folder in your static files called debug toolbar.

    The collectstatic management command should take care of this on most installations.

提交回复
热议问题