Make the debug toolbar show
This commit is contained in:
parent
3a6c3cee1f
commit
06865d0aa9
|
@ -196,3 +196,12 @@ if PROFILER: # noqa - trust me its there
|
||||||
# "region": f'{os.getenv("REGION")}',
|
# "region": f'{os.getenv("REGION")}',
|
||||||
# }
|
# }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def show_toolbar(request):
|
||||||
|
return DEBUG # noqa: from local imports
|
||||||
|
|
||||||
|
|
||||||
|
DEBUG_TOOLBAR_CONFIG = {
|
||||||
|
"SHOW_TOOLBAR_CALLBACK": show_toolbar,
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue