Skip to main content

Django Font Awesome 5 icon picker

Project description

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.

Admin Preview GIF

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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-faicon-0.1.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_faicon-0.1.0-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file django-faicon-0.1.0.tar.gz.

File metadata

  • Download URL: django-faicon-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-faicon-0.1.0.tar.gz
Algorithm Hash digest
SHA256 258cf6c9f5776357b29f25edbe124528be25128691d643d119222ccc8ae0c3e3
MD5 33a321ab84ed1559fc35b786175dff6d
BLAKE2b-256 90596f4fc4f4b15a8d2f352a3ca512f69ecbe87574e11192b8b032b499ba4a14

See more details on using hashes here.

File details

Details for the file django_faicon-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_faicon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for django_faicon-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90a72750cb7d8ecbc358d0001b9a50ef3632558ff1f3dc5724c4d059af04b68a
MD5 1a6db57f3dfd84307c49795c19ccc11b
BLAKE2b-256 c393355b212c8306d84df70f821b4f0f122529453290aa2680fd01c2836d4540

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page