skip to navigation
skip to content

Not Logged In

django-shortcodes 0.3.0

WordPress shortcode support for Django

This package provides WordPress shortcode support for Django templates. It is based on code by Mark Steadman.

Support for different shortcodes are generated by parsers. The package currently includes a parser for YouTube videos. Additional parsers can be submitted for inclusion at the package’s issue tracker.


Use pip install django-shortcodes or clone the Git repository.


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


  • SHORTCODES_YOUTUBE_JQUERY: Boolean whether the jquery.flash plugin is available.
  • SHORTCODES_YOUTUBE_HEIGHT: Default height for YouTube videos.
  • SHORTCODES_YOUTUBE_WIDTH: Default width for YouTube videos.
File Type Py Version Uploaded on Size
django-shortcodes-0.3.0.tar.gz (md5) Source 2012-09-27 3KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 16 downloads in the last week
  • 72 downloads in the last month