BenjjinF / django-fontawesome-5

A utility for using icons in models, forms, and templates.
BSD 2-Clause "Simplified" License
21 stars 18 forks source link

Medical icons not included? #18

Open Anastasiia59 opened 3 years ago

Anastasiia59 commented 3 years ago

Hi! Thank you for this nice package first of all. However, it seems to me that it can't render the icons from 'medical' package - the other simple icons are rendering perfectly fine. Can I do something with it?

mcrot commented 3 years ago

I also stumbled on this. I think only the free icons are included. Many more icons are included in the "pro" edition. You can see it here when using the filters in the sidebar on the left. Maybe you want to use a non-free icon?

Anastasiia59 commented 3 years ago

I also stumbled on this. I think only the free icons are included. Many more icons are included in the "pro" edition. You can see it here when using the filters in the sidebar on the left. Maybe you want to use a non-free icon?

I don't think so. I tried using 'virus' 'fas' for example, which is apparently a free icon, but it just rendered nothing on the website.

mcrot commented 3 years ago

Oh yes, know I see. You're right, virus is free and it does not appear.

zypro commented 3 years ago

This is caused by an old version of https://github.com/BenjjinF/django-fontawesome-5/blob/master/fontawesome_5/static/fontawesome_5/css/all.min.css.

A fast workaround is to use the current version by setting: FONTAWESOME_5_CSS = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css'.