Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-faicon

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-faicon

Django Font Awesome 5 icon picker

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

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'

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc