[PR #2464] [CLOSED] Use the manifest based static file storage from django. This generates #12378

Closed
opened 2025-12-29 22:21:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2464
Author: @paepke
Created: 9/27/2018
Status: Closed

Base: developHead: static-file-handling


📝 Commits (1)

  • 292237a Use the manifest based static file storage from django. This generates

📊 Changes

22 files changed (+38 additions, -22 deletions)

View changed files

📝 docs/configuration/optional-settings.md (+8 -0)
📝 netbox/netbox/configuration.example.py (+3 -0)
📝 netbox/netbox/settings.py (+8 -0)
📝 netbox/project-static/jquery-ui-1.12.1/jquery-ui.css (+0 -1)
📝 netbox/project-static/jquery-ui-1.12.1/jquery-ui.min.css (+1 -2)
📝 netbox/project-static/jquery-ui-1.12.1/jquery-ui.theme.css (+0 -1)
📝 netbox/templates/_base.html (+2 -2)
📝 netbox/templates/circuits/circuittermination_edit.html (+1 -1)
📝 netbox/templates/circuits/provider.html (+1 -1)
📝 netbox/templates/dcim/consoleport_connect.html (+1 -1)
📝 netbox/templates/dcim/consoleserverport_connect.html (+1 -1)
📝 netbox/templates/dcim/device.html (+2 -2)
📝 netbox/templates/dcim/interfaceconnection_edit.html (+1 -1)
📝 netbox/templates/dcim/poweroutlet_connect.html (+1 -1)
📝 netbox/templates/dcim/powerport_connect.html (+1 -1)
📝 netbox/templates/dcim/site.html (+1 -1)
📝 netbox/templates/ipam/ipaddress_edit.html (+1 -1)
📝 netbox/templates/secrets/secret.html (+1 -1)
📝 netbox/templates/secrets/secret_edit.html (+1 -1)
📝 netbox/templates/secrets/secret_import.html (+1 -1)

...and 2 more files

📄 Description

unique cacheable assets without the need for version based query strings.
As additional feature whitenoise can be enabled which serves the files
directly from django and enables compression of the assets.

Fixes:

https://github.com/digitalocean/netbox/issues/2463


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/2464 **Author:** [@paepke](https://github.com/paepke) **Created:** 9/27/2018 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `static-file-handling` --- ### 📝 Commits (1) - [`292237a`](https://github.com/netbox-community/netbox/commit/292237a945303159a3735d383bd057fbc629da79) Use the manifest based static file storage from django. This generates ### 📊 Changes **22 files changed** (+38 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/optional-settings.md` (+8 -0) 📝 `netbox/netbox/configuration.example.py` (+3 -0) 📝 `netbox/netbox/settings.py` (+8 -0) 📝 `netbox/project-static/jquery-ui-1.12.1/jquery-ui.css` (+0 -1) 📝 `netbox/project-static/jquery-ui-1.12.1/jquery-ui.min.css` (+1 -2) 📝 `netbox/project-static/jquery-ui-1.12.1/jquery-ui.theme.css` (+0 -1) 📝 `netbox/templates/_base.html` (+2 -2) 📝 `netbox/templates/circuits/circuittermination_edit.html` (+1 -1) 📝 `netbox/templates/circuits/provider.html` (+1 -1) 📝 `netbox/templates/dcim/consoleport_connect.html` (+1 -1) 📝 `netbox/templates/dcim/consoleserverport_connect.html` (+1 -1) 📝 `netbox/templates/dcim/device.html` (+2 -2) 📝 `netbox/templates/dcim/interfaceconnection_edit.html` (+1 -1) 📝 `netbox/templates/dcim/poweroutlet_connect.html` (+1 -1) 📝 `netbox/templates/dcim/powerport_connect.html` (+1 -1) 📝 `netbox/templates/dcim/site.html` (+1 -1) 📝 `netbox/templates/ipam/ipaddress_edit.html` (+1 -1) 📝 `netbox/templates/secrets/secret.html` (+1 -1) 📝 `netbox/templates/secrets/secret_edit.html` (+1 -1) 📝 `netbox/templates/secrets/secret_import.html` (+1 -1) _...and 2 more files_ </details> ### 📄 Description unique cacheable assets without the need for version based query strings. As additional feature whitenoise can be enabled which serves the files directly from django and enables compression of the assets. ### Fixes: https://github.com/digitalocean/netbox/issues/2463 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:21:10 +01:00
adam closed this issue 2025-12-29 22:21:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12378