django-noun-project

Support for the Noun Project inside Django


License
Other
Install
pip install django-noun-project==0.1

Documentation

A Django template tag to render noun icons from the totally sweet Noun Project!

http://mathburritos.org/misc/icons_for_github.png

Note

2015-7: This project may need updating, as it looks like the noun project API endpoints have changed.

Installation

  1. pip install django-noun-project or, from source, python setup.py install
  2. Add noun_project to your INSTALLED_APPS

Usage

Inside a template:

{% load noun_icon %}

then simply:

{% noun_icon "coffee" %}

To make a pretty coffee icon appear!

Examples:

{% noun_icon "coffee" width="50px" %}

{% noun_icon "coffee" width="50px" height="200px" %}

{% noun_icon "coffee" as coffee %}