1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

bootstrap icon conversion fixes

This commit is contained in:
catborise 2023-08-11 09:40:38 +03:00
parent 7e88db9d2b
commit b47ec2e8f9
74 changed files with 569 additions and 73 deletions

View file

@ -127,7 +127,7 @@ else:
Path.joinpath(BASE_DIR, "static"),
]
BS_ICONS_CACHE = Path.joinpath(BASE_DIR, 'static/icon_cache')
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
@ -139,21 +139,6 @@ LOCALE_PATHS = [
"locale/",
]
# Settings for django-icons
DJANGO_ICONS = {
'DEFAULTS': {
'renderer': 'fontawesome4',
},
'RENDERERS': {
'fontawesome4': 'FontAwesome4Renderer',
'bootstrap3': 'Bootstrap3Renderer',
},
}
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
@ -170,7 +155,7 @@ LOGGING = {
'default': {
'level':'INFO',
'class':'logging.handlers.RotatingFileHandler',
'filename': '/srv/webvirtcloud/webvirtcloud.log',
'filename': 'webvirtcloud.log',
'formatter':'standard',
},
},
@ -180,6 +165,11 @@ LOGGING = {
'level': 'INFO',
'propagate': True
},
'django.request': {
"handlers": ["mail_admins"],
"level": "ERROR",
"propagate": True,
}
},
}