Skip to main content

Font Awesome for Django

Project description

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

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-fa-1.0.0.tar.gz (1.5 MB view details)

Uploaded Source

File details

Details for the file django-fa-1.0.0.tar.gz.

File metadata

  • Download URL: django-fa-1.0.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-fa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e3ebf97b90e374b5ccb5b8a70e4a932c8787f2ee995c09a97a63bf9a1366c3ff
MD5 deaaa4a73fcc8aa30ca186735c4f967e
BLAKE2b-256 e91a52319b3522990a85bf3f43be0d969af6c575ce0a421bc9ae35e76409ba2c

See more details on using hashes here.

Supported by

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