Skip to content

danielvdp/django-fa

 
 

Repository files navigation

django-fa

Font Awesome for Django.

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

This is pretty much what it does.

Requirements

  • Python 2.6, 2.7, 3.2 or 3.3
  • Django >= 1.4

Contributions and pull requests for other Django and Python versions are welcome.

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.

About

Font Awesome for Django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%