📅  最后修改于: 2022-03-11 14:46:35.125000             🧑  作者: Mango
# If django-debug-toolbar does not work, add this to settings.py
def show_toolbar(request):
return True
SHOW_TOOLBAR_CALLBACK = show_toolbar
#Also set INTERNAL_IPS e.g.
INTERNAL_IPS = ['127.0.0.1']