Skip to main content

A django-cms plugin with a better placeholder tag.

Project description

A django-cms plugin with a better placeholder tag.

Unfortunately the {% placeholer %} tag of django-cms3 is not an assignment tag. This plugin adds a {% placeholder_as %} tag to address this issue.

Additionally, we also thought that it would be cool to allowed the use of any templatetag in Placeholder fields. This is extremely useful when linking via the {% url %} tag, for example.


To get the latest stable release from PyPi

pip install cmsplugin-template-placeholder

To get the latest commit from GitHub

pip install -e git+git://

Add cmsplugin_template_placeholder to your INSTALLED_APPS


Before the new tags are available in your templates, load them by using

{% load cmsplugin_template_placeholder_tags %}


Import the tag and use it similar to the original {% placeholder %} tag:

{% load cmsplugin_template_placeholder %}
{% placeholder_as "placeholder_name" as output %}
{{ output }}


If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 cmsplugin-template-placeholder
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

Project details

Release history Release notifications

This version


Download files

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

Files for cmsplugin-template-placeholder, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size cmsplugin-template-placeholder-0.1.tar.gz (6.6 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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page