This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

# django-template-shortcodes

THIS IS EXPERIMENTAL STUFF. Don’t use it. Probably.

This package provides some [WordPress shortcode](http://en.support.wordpress.com/shortcodes/) support for Django templates. It is heavily based on [AGoodId’s version of django-shortcodes](https://github.com/AGoodId/django-shortcodes) (in turn based on https://code.google.com/p/django-shortcodes/), as well as [WP Export Parser](https://github.com/RealGeeks/wp_export_parser) for the regex parts, lifted from WordPress.

## Supported shortcodes (sort of):

  • [caption caption="Foo bar"]<img src="" alt="" />[/caption]
  • [caption]<img src="" alt="" /> Foo bar[/caption]
  • [youtube=https://www.youtube.com/watch?v=dQw4w9WgXcQ]
  • [youtube url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"]
  • [gmaps url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"]
  • [vimeo url="https://www.vimeo.com/watch?v=dQw4w9WgXcQ"]
  • [iframe url="https://www.vimeo.com/watch?v=dQw4w9WgXcQ"]

## Installation

Install via pip: pip install django-template-shortcodes Or clone the [Git repository](https://github.com/emilbjorklund/django-shortcodes).

## Usage

Parse shortcodes:

{% load shortcodes_filters %} {{ text|shortcodes|safe }}

Remove shortcodes (completely, including contents inside):

{% load shortcodes_filters %} {{ text|removeshortcodes|safe }}
Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1a

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_template_shortcodes-0.0.3-py2.7.egg (14.6 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 19, 2014
django_template_shortcodes-0.0.3-py2-none-any.whl (9.3 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jun 19, 2014
django-template-shortcodes-0.0.3.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Jun 19, 2014

Supported By

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