From a1ab1b633e629cf405f106db8d89e17688fcc201 Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Tue, 28 Nov 2023 22:04:09 +0530 Subject: [PATCH] [req-changes] Miscellaneous changes --- openwisp_utils/admin_theme/admin.py | 2 +- openwisp_utils/admin_theme/system_info.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openwisp_utils/admin_theme/admin.py b/openwisp_utils/admin_theme/admin.py index 6533de54..dc36759d 100644 --- a/openwisp_utils/admin_theme/admin.py +++ b/openwisp_utils/admin_theme/admin.py @@ -56,7 +56,7 @@ def get_urls(self): name='ow-auto-filter', ), path( - 'ow-info/', + 'openwisp-system-info/', self.admin_view(self.openwisp_info), name='ow-info', ), diff --git a/openwisp_utils/admin_theme/system_info.py b/openwisp_utils/admin_theme/system_info.py index fda71896..e0a0dc24 100644 --- a/openwisp_utils/admin_theme/system_info.py +++ b/openwisp_utils/admin_theme/system_info.py @@ -32,7 +32,7 @@ def get_enabled_openwisp_modules(): if package in EXTRA_OPENWISP_PACKAGES: extra_packages[package] = version continue - package_name = package.replace("-", "_") + package_name = package.replace('-', '_') if package_name in settings.INSTALLED_APPS: enabled_packages[package] = version else: