Via plugins (but built into the hosted version), WordPress supports “shortcodes”, snippets of code in square brackets which are parsed to provide things like embedded YouTube clips or image galleries.
Django has a filter system which is used within templates, but what happens when your users want that same flexibility? This is where django-shortcodes comes in. Built to be pluggable, this reusable app provides a template filter which leverages the shortcode parsers within the “parsers” folder, replacing the relevant shortcode with the right HTML code.
For example, the phrase [youtube id=Us-TVg40ExM] is replaced with the following code:
To install django-shortcodesCheck out the source via SVN into a path called django-shortcodes Add the django-shortcodes directory to your Python pat
These details are provided for information only. No information here is legal advice and should not be used as such.