Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Cufon made easy in Django

Project Description

Easy Cufon with Django. Django-cufon provides easy-to-use template tags for use with rendering Cufon text in your HTML with Django.

It provides:

  • A tag named {% cufon-script %} that includes the Cufon JavaScripts. This is meant to be put in HEAD.
  • A tag named {% cufon %} that handles rendering your Cufon texts.

read the docs for more information.


In your HEAD be sure to include the Cufon scripts and your fonts:

{% load cufon %}
    <title>My awesome page</title>
    {% cufon-script %}
    <script language="text/javascript" src="{{ STATIC_URL }}fonts/my_cufon_font.js"></script>

Then, in your body where you want to Cufon some text:

<h1>{% cufon "All your base are belong to us!" "MyAwesomeFont" %}</h1>

The above example will render the text All your base are belong to us! in the Cufon font called MyAwesomeFont


For a little more documentation, though not much more, see the docs folder or read the documentation online

Authors & Special Thanks

django-cufon was written by Jonathan Enzinna

Many special thanks to Simo Kinnunen for creating Cufon in the first place.

Release History

This version
History Node


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
(2.3 kB) Copy SHA256 Hash SHA256
Source None Feb 15, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting