UNKNOWN
Project description
django-pygmy is a little app that colorizes source codez in your Django templates. It uses pygments for prettify the codez and django-classy-tags for easy-and-awesome creation of template tags.
Installation
To install django-pygmy, simply run:
pip install django-pygmy
And add the app to your INSTALLED_APPS:
INSTALLED_APPS = ( ..., 'django_pygmy', )
Usage
Render the awesomeness in your template:
{% load pygmy %} {{ obj.title }} {% pygmy obj.code %}
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-pygmy-0.1.tar.gz
(2.2 kB
view hashes)