Fixes: 1) Ensure correct handling of query results in category/brand auto-resolve methods; 2) Fix PO formatting issues across multiple locales. Extra: 1) Add `priority` field to Django admin for categories; 2) Suppress specific type-checking warnings in settings and utilities.
37 lines
1.1 KiB
Python
37 lines
1.1 KiB
Python
from evibes.settings import CONSTANCE_CONFIG
|
|
|
|
DAISY_SETTINGS: dict = {
|
|
"SITE_LOGO": "/static/favicon.ico",
|
|
"EXTRA_STYLES": [
|
|
f"https://api.{CONSTANCE_CONFIG.get('BASE_DOMAIN')[0]}/static/css/constance.css", # type: ignore
|
|
],
|
|
"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",
|
|
},
|
|
"django_celery_beat": {
|
|
"icon": "fa fa-solid fa-timeline",
|
|
"hide": False,
|
|
"app": "django_celery_beat",
|
|
"priority": 1,
|
|
},
|
|
"django_mailbox": {
|
|
"icon": "fa fa-solid fa-envelope",
|
|
"hide": False,
|
|
"app": "django_mailbox",
|
|
"priority": 2,
|
|
},
|
|
"django_summernote": {
|
|
"icon": "fa fa-solid fa-note-sticky",
|
|
"hide": False,
|
|
"app": "django_summernote",
|
|
"priority": 3,
|
|
},
|
|
},
|
|
}
|