Fixes: 1) Updated AutoSlugField to enhance slug generation logic in core models. Extra: 1) Removed redundant Daisy settings from base configurations; 2) Minor code cleanup and organization.
41 lines
1.2 KiB
Python
41 lines
1.2 KiB
Python
from django.utils.translation import gettext_lazy as _
|
|
|
|
DAISY_SETTINGS: dict = {
|
|
"SITE_LOGO": "/static/favicon.ico",
|
|
"EXTRA_STYLES": [
|
|
"core/css/constance.css",
|
|
],
|
|
"EXTRA_SCRIPTS": [],
|
|
"SHOW_CHANGELIST_FILTER": True,
|
|
"DONT_SUPPORT_ME": True,
|
|
"SIDEBAR_FOOTNOTE": "eVibes by Wiseless",
|
|
"LOAD_FULL_STYLES": True,
|
|
"APPS_REORDER": {
|
|
"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": 0,
|
|
"divider_title": _("eVibes System"),
|
|
},
|
|
"django_mailbox": {
|
|
"icon": "fa fa-solid fa-envelope",
|
|
"hide": False,
|
|
"app": "django_mailbox",
|
|
"priority": 1,
|
|
"divider_title": _("eVibes System"),
|
|
},
|
|
"django_summernote": {
|
|
"icon": "fa fa-solid fa-note-sticky",
|
|
"hide": False,
|
|
"app": "django_summernote",
|
|
"priority": 2,
|
|
"divider_title": _("eVibes System"),
|
|
},
|
|
},
|
|
}
|