Skip to main content

django-fa

Font Awesome for Django.

https://coveralls.io/repos/github/zostera/django-fa/badge.svg?branch=master https://travis-ci.org/zostera/django-fa.svg?branch=master

Installation

  1. Install using pip:

    pip install django-fa

    Alternatively, you can install download or clone this repo and call pip install -e ..

  2. Add to INSTALLED_APPS in your settings.py:

    'fa',

  3. Use the font-awesome tag library in your templates

Example template

{% load font_awesome %}

{# Load CSS #}

{% fa_css %}

{# Display an icon #}

{% fa 'fa-shield' %}

Documentation

See https://django-fa.readthedocs.io for complete documentation.

Compatible Django and Python versions

Currently django-fa requires Django >= 1.8 and a matching Python version.

Python and Django support will match the Django project. When a Django or Python versions is no longer supported by the Django Project, this package will also stop supporting those versions. You are strongly encouraged to upgrade to the newest (LTS) combination of Python/Django.

Requirements

Django >= 1.8 and a matching Python version

Bugs and requests

If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.

https://github.com/zostera/django-fa/issues

License

You can use this under the MIT License. See LICENSE file for details.

Author

Developed and maintained by Zostera.

Original author & Development lead: Dylan Verheul.

Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.

Please see AUTHORS.rst for a list of contributors.

1.0.0 - in development

  • Rename fa to icon

  • No longer automatically prepend fa to icon parameters

  • Drop support for Django 1.9

0.4.0 - 2017-05-26

  • Default to to Font Awesome 4.7.0

  • Fix Travis CI and unit tests

  • Fix ReadThe Docs Documentation

0.3.0 - 2016-02-26

  • Default to Font Awesome 4.4.5

  • Removed warnings for Django 1.10

0.2.0 - 2015-08-11

  • Font Awesome 4.4.0 is default now

  • 100% coverage in tests

0.1.1 - 2015-07-26

  • First publication on GitHub

Metadata

Release files for django-fa 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-fa 1.0.0
File Size Uploaded Provenance Actions
django-fa-1.0.0.tar.gz 1.5 MB Without provenance Details for django-fa-1.0.0.tar.gz

Release files / django-fa-1.0.0.tar.gz

Download URL django-fa-1.0.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
e3ebf97b90e374b5ccb5b8a70e4a932c8787f2ee995c09a97a63bf9a1366c3ff
BLAKE2b-256 checksum
How to use checksums
e91a52319b3522990a85bf3f43be0d969af6c575ce0a421bc9ae35e76409ba2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-fa 1.0.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page