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!

Google Code Prettify staticfiles for django

Project Description

Easily include google-code-prettify in your django apps


Install this package using pip

pip install django-staticfiles-google-code-prettify

Make sure your django project is configured to use staticfiles, then add this to your INSTALLED_APPPS

INSTALLED_APPS += [‘django-staticfiles-google-code-prettify’,]


You can use this in two different ways in your templates.


<link href=”{{ STATIC_URL }}google-code-prettify/css/prettify.css” type=”text/css” rel=”stylesheet” /> <script type=”text/javascript” src=”{{ STATIC_URL }}google-code-prettify/js/prettify.js”></script>

### static template tag

{% load static from staticfiles %} <link href=”{% static “google-code-prettify/css/prettify.css” %}” type=”text/css” rel=”stylesheet” /> <script type=”text/javascript” src=”{% static “google-code-prettify/js/prettify.js” %}”></script>

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
(21.7 kB) Copy SHA256 Hash SHA256
Source None Sep 9, 2012

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