From fe9dfe552b6b35bcf77bac6dfec83d79f9a5717c Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Sat, 21 Jun 2025 19:19:09 +0300 Subject: [PATCH] Features: None; Fixes: None; Extra: 1) Remove unused `divider_title` attribute across app configurations and settings; 2) Cleanup unnecessary translation import in `daisy.py`. --- blog/apps.py | 1 - core/apps.py | 1 - evibes/settings/daisy.py | 6 ------ payments/apps.py | 1 - vibes_auth/apps.py | 1 - 5 files changed, 10 deletions(-) diff --git a/blog/apps.py b/blog/apps.py index cc870e6b..eac2df44 100644 --- a/blog/apps.py +++ b/blog/apps.py @@ -7,7 +7,6 @@ class BlogConfig(AppConfig): name = "blog" verbose_name = _("blog") icon = "fa fa-solid fa-book" - divider_title = _("eVibes Engine") priority = 86 hide = False diff --git a/core/apps.py b/core/apps.py index e4a25f5d..3cd3db0a 100644 --- a/core/apps.py +++ b/core/apps.py @@ -7,7 +7,6 @@ class CoreConfig(AppConfig): name = "core" verbose_name = _("core") icon = "fa fa-solid fa-star" - divider_title = _("eVibes Engine") priority = 88 hide = False diff --git a/evibes/settings/daisy.py b/evibes/settings/daisy.py index a3bec898..87a91373 100644 --- a/evibes/settings/daisy.py +++ b/evibes/settings/daisy.py @@ -1,5 +1,3 @@ -from django.utils.translation import gettext_lazy as _ - from evibes.settings import CONSTANCE_CONFIG DAISY_SETTINGS: dict = { @@ -16,28 +14,24 @@ DAISY_SETTINGS: dict = { "django_celery_results": { "hide": True, "app": "django_celery_results", - "divider_title": _("eVibes System"), }, "django_celery_beat": { "icon": "fa fa-solid fa-timeline", "hide": False, "app": "django_celery_beat", "priority": 1, - "divider_title": _("eVibes System"), }, "django_mailbox": { "icon": "fa fa-solid fa-envelope", "hide": False, "app": "django_mailbox", "priority": 2, - "divider_title": _("eVibes System"), }, "django_summernote": { "icon": "fa fa-solid fa-note-sticky", "hide": False, "app": "django_summernote", "priority": 3, - "divider_title": _("eVibes System"), }, }, } diff --git a/payments/apps.py b/payments/apps.py index 298209db..c4912bea 100644 --- a/payments/apps.py +++ b/payments/apps.py @@ -7,7 +7,6 @@ class PaymentsConfig(AppConfig): name = "payments" verbose_name = _("payments") icon = "fa fa-solid fa-wallet" - divider_title = _("eVibes Engine") priority = 87 hide = False diff --git a/vibes_auth/apps.py b/vibes_auth/apps.py index 602876dd..ae42c033 100644 --- a/vibes_auth/apps.py +++ b/vibes_auth/apps.py @@ -7,7 +7,6 @@ class VibesAuthConfig(AppConfig): name = "vibes_auth" verbose_name = _("authentication") icon = "fa fa-solid fa-user" - divider_title = _("eVibes Auth") priority = 89 hide = False