django-faicon
Integrates a Font Awesome 5 icon picker in the Django admin interface. Picker interface includes dynamic search on the icon name & terms, filter by styles and can handle thousands of icons easily. Package uses the free version of Font Awesome but you can easily drop in the Pro version if you have license.
Documentation
Install
pip install django-faicon
Add faicon to INSTALLED_APPS in settings
Add path('faicon/', include('faicon.urls')), to urlpatterns in urls.py
Add the field to your model
from faicon.fields import FAIconField
class MyModel(models.Model):
icon = FAIconField()
Setup
If you want to use Font Awesome Pro or a different version than the one included, download it and put it in your project static directory and name it fontawesome
To specify different locations for the icon files you can use these settings:
FAICON_YAML_FILE = 'fontawesome/metadata/icons.yml'
FAICON_CSS_URL = 'fontawesome/css/all.css'
Metadata
Release files for django-faicon 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-faicon-0.1.0.tar.gz | 2.7 MB | Without provenance | Details for django-faicon-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_faicon-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for django_faicon-0.1.0-py3-none-any.whl |
Total release size: 5.5 MB
Release files / django-faicon-0.1.0.tar.gz
| Download URL | django-faicon-0.1.0.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
258cf6c9f5776357b29f25edbe124528be25128691d643d119222ccc8ae0c3e3
|
|
BLAKE2b-256 checksum How to use checksums |
90596f4fc4f4b15a8d2f352a3ca512f69ecbe87574e11192b8b032b499ba4a14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|
Release files / django_faicon-0.1.0-py3-none-any.whl
| Download URL | django_faicon-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90a72750cb7d8ecbc358d0001b9a50ef3632558ff1f3dc5724c4d059af04b68a
|
|
BLAKE2b-256 checksum How to use checksums |
c393355b212c8306d84df70f821b4f0f122529453290aa2680fd01c2836d4540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|
Security for django-faicon 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.