2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add django-debug-toolbar plugin

- Must be running in DEBUG mode
- Must set debug_toolbar to True in config file
This commit is contained in:
Oliver Walters
2020-08-15 19:48:42 +10:00
parent 1f5d81ef93
commit b8b3a933ab
4 changed files with 29 additions and 2 deletions

View File

@ -58,8 +58,14 @@ static_root: '../inventree_static'
# - git
# - ssh
# Set debug_toolbar to True to enable a debugging toolbar for InvenTree
# Note: This will only be displayed if DEBUG mode is enabled,
# and only if InvenTree is accessed from a local IP (127.0.0.1)
debug_toolbar: False
# Logging options
# If debug mode is enabled, set log_queries to True to show aggregate database queries in the debug console
# TODO - Remove me!
log_queries: False
# Backup options