Skip to content

Commit 1b2ba1d

Browse files
committed
[deps] Switched to django-minify-compress-staticfiles #565
Replaced django-compress-staticfiles with the new django-minify-compress-staticfiles package for static file minification and compression. The new package provides: - CSS/JS minification using rjsmin and rcssmin - Both Gzip and Brotli compression support - Better security with path traversal protection - Configurable compression levels and file size limits Updated imports in storage.py and documentation references accordingly. Fixes #565
1 parent 6a8dd0a commit 1b2ba1d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/openwisp2/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@
139139
try:
140140
from local_settings import * # noqa
141141
except ImportError:
142-
pass
142+
pass

tests/test_project/tests/test_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,4 +592,4 @@ def _assert_system_information(response):
592592
response = self.client.get(reverse("admin:ow-info"))
593593
self.assertEqual(response.status_code, 200)
594594
self.assertNotContains(response, "<h2>OpenWISP Version")
595-
_assert_system_information(response)
595+
_assert_system_information(response)

tests/test_project/tests/test_dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,4 @@ def test_get_dashboard_context_html_escape(self):
293293
self.assertEqual(
294294
context["dashboard_charts"][1]["query_params"]["labels"][0],
295295
"&lt;strong&gt;Projects with operators&lt;/strong&gt;",
296-
)
296+
)

0 commit comments

Comments
 (0)