Django application contain font-awesome static files
Project description
django-static-fontawesome
Django application contain font-awesome static files
Install
pip install django-static-fontawesome
Fontawesome License
- All resource files of static\fontawesome are unzip from fontawesome-free-xx.xx.xx-web.zip which download from https://fontawesome.com without any changes.
- All resource files of static\fontawesome obey Font Awesome Pro License, see details at https://fontawesome.com/license.
- We don't guarantee the latest fontawesome version.
Settings
pro/settings.py
INSTALLED_APPS = [
...
"fontawesome",
...
]
Use static files
page.html
{% load staticfiles %}
{% block style %}
<link rel="stylesheet" type="text/css" href="{% static "fontawesome/css/all.min.css" %}" />
{% endblock %}
<i class="far fa-home"></i> Home
Use demo page
pro/urls.py
from django.urls import path, include
urlpatterns = [
path('fontawesome/', include("fontawesome.urls")),
]
- Start test server by command: python manage.py runserver
- Visit demo page: http://127.0.0.1:8000/fontawesome/demo.
About releases
- The first three number is the same with fontawesome project's version.
- The fourth number is our release number, it's optional.
Releases
v5.12.1 2020/02/11
- Upgrade fontawesome static files to version 5.12.1.
- Add demo page.
v5.10.2 2019/09/07
- Use fontawesome 5.10.2.
v5.0.8.1 2018/03/27
- Use fontawesome 5.0.8.
v5.0.2 2017/10/21
- First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-static-fontawesome-5.12.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b675e6c4c93675da8b721f4cd324bad28ae548fb26530851321e33e482490b |
|
MD5 | c550a99c1340cdfc9920cc58a358df4b |
|
BLAKE2b-256 | 1785d1fbeadb430d1faaa4958d182075492f34a82bef2a8db8e24c4ef6369e54 |