Skip to content

Commit 768b49e

Browse files
committed
update django-icons to 4.0.0
1 parent cb3ed61 commit 768b49e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

conf/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Django==2.2.22
22
django-bootstrap4==3.0.1
3-
django-icons==3.0.0
3+
django-icons==4.0.0
44
django-login-required-middleware==0.6.1
55
django-otp==1.0.6
66
django-qr-code==2.2.0

webvirtcloud/settings.py.template

+13
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,19 @@ TEMPLATES = [
8383

8484
WSGI_APPLICATION = "webvirtcloud.wsgi.application"
8585

86+
# Settings for django-icons
87+
DJANGO_ICONS = {
88+
89+
'DEFAULTS': {
90+
'renderer': 'fontawesome4',
91+
},
92+
93+
'RENDERERS': {
94+
'fontawesome4': 'FontAwesome4Renderer',
95+
'bootstrap3': 'Bootstrap3Renderer',
96+
},
97+
}
98+
8699
# Database
87100
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
88101

0 commit comments

Comments
 (0)