Skip to content

Debug Toolbar is missing #3 #19217

@peteeckel

Description

@peteeckel

Deployment Type

Self-hosted

NetBox Version

v4.3-beta1

Python Version

3.11

Steps to Reproduce

  1. Install NetBox, setting DEBUG=False in the configuration file
  2. After collectstatic has been executed, change this to DEBUG=True and restart NetBox
  3. Open the NetBox GUI in the browser

Expected Behavior

The Django debug menu is available.

Observed Behavior

It is not.

If collectstatic is executed manually after setting DEBUG=False, 494 static files are copies. If DEBUG is set to True, 501 are copied.

The files that are missing are:

> netbox/static/debug_toolbar/css/print.css
> netbox/static/debug_toolbar/css/toolbar.css
> netbox/static/debug_toolbar/js/history.js
> netbox/static/debug_toolbar/js/redirect.js
> netbox/static/debug_toolbar/js/timer.js
> netbox/static/debug_toolbar/js/toolbar.js
> netbox/static/debug_toolbar/js/utils.js

Which explains the problem neatly.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions