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 = [
...
"django_static_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("django_static_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.1 2020/02/26
- App rename to django_static_fontawesome.
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 328948a08bfbd65db1149261a3af0dda8b0223887fcf77b5d8d264d46002ca42 |
|
MD5 | b0ab37feaea85d8491918f824ff2eb27 |
|
BLAKE2b-256 | 36d8fc206028cae19111ef706d1b733393100bb3dcf24ed956ca9c8b9b8cf5b2 |