Skip to main content


Project description


[![Build Status](](

Remove boilerplate code when including JS and CSS files hosted by popular CDNs.

## Index

- [Instalation and configuration](#instalation)
- [Usage](#usage)
- [Supported libraries](#support)

## Instalation

Via pip:
pip install django-template-shortcuts
Via easy_install:
easy_install django-template-shortcuts
Clonning the project:
$ git clone git://
$ python django-template-shortcuts/ install

Add the app to your installed apps:

There is support for multiple CDN backends and multiple JS libraries.
Currently only the Google CDN is supported with some support for Cloudfare's CDNJS.

## Usage

{% load shortcuts %}
{% jquery "1.7.2" %}
Will yeild

<script type="text/javascript" src="//"></script>

## Supported libraries

|Template Tag | Google | CDNJS |

## Contributing
Found an issue or just want to add some functionality? Open an issue in the issue tracker on github, fork the project, hack away, and make a pull request when you're done.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-template-shortcuts, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django-template-shortcuts-0.1.1.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page