skip to navigation
skip to content

django-shortcodes 0.4.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_VIMEO_HEIGHT: Default height for Vimeo videos.
  • SHORTCODES_VIMEO_WIDTH: Default width for Vimeo videos.


  • 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.4.0.tar.gz (md5) Source 2016-01-30 4KB
django_shortcodes-0.4.0-py2-none-any.whl (md5) Python Wheel py2 2016-01-30 6KB