Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

1.0.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.1

History Node

0.1

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-fa-1.0.0.tar.gz (1.5 MB) Copy SHA256 hash SHA256 Source None Jun 8, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page