From 768b49ea88d671a3adc98733d43432079e111b1c Mon Sep 17 00:00:00 2001 From: catborise Date: Thu, 10 Jun 2021 13:17:49 +0300 Subject: [PATCH] update django-icons to 4.0.0 --- conf/requirements.txt | 2 +- webvirtcloud/settings.py.template | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/conf/requirements.txt b/conf/requirements.txt index 3682333..8d13382 100644 --- a/conf/requirements.txt +++ b/conf/requirements.txt @@ -1,6 +1,6 @@ Django==2.2.22 django-bootstrap4==3.0.1 -django-icons==3.0.0 +django-icons==4.0.0 django-login-required-middleware==0.6.1 django-otp==1.0.6 django-qr-code==2.2.0 diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index d27fe53..74be031 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -83,6 +83,19 @@ TEMPLATES = [ WSGI_APPLICATION = "webvirtcloud.wsgi.application" +# Settings for django-icons +DJANGO_ICONS = { + + 'DEFAULTS': { + 'renderer': 'fontawesome4', + }, + + 'RENDERERS': { + 'fontawesome4': 'FontAwesome4Renderer', + 'bootstrap3': 'Bootstrap3Renderer', + }, +} + # Database # https://docs.djangoproject.com/en/3.0/ref/settings/#databases