Skip to main content

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

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
django-fa-1.0.0.tar.gz 1.5 MB Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1

1 release file

0.0.1

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