Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A fully featured drop-in replacement of for Django

Project description

A fully featured drop-in replacement of for Django


  • Everything does
  • Identical URL structure
  • Improved font rendition and vertical text alignment


You can pip install the app from PyPi (recommended):

$ pip install django-placeholdit

or GitHub:

$ pip install git+git://

Add django_placeholdit to your INSTALLED_APPS in

    # ...

Add the routes into your, feel free to customise the prefix or namespace, no trailing slash:

urlpatterns = patterns(
    # ...
    url(r'^placeholders', include('django_placeholdit.urls', namespace='placeholdit')),


The following options can be configured in your

PLACEHOLDIT_CACHE_SECONDS # Number of seconds to cache placeholders. Defaults to 86400 * 7 (a week)


In templates:

<img src="{% url 'placeholdit:placeholder' width=160 %}">
<img src="{% url 'placeholdit:placeholder' width=240 height=160 text='Custom dimensions' %}">
<img src="{% url 'placeholdit:placeholder' width=160 text='Custom text!' %}">
<img src="{% url 'placeholdit:placeholder' width=160 background='F77A00' color='fff' text='Custom colors!' %}">
<img src="{% url 'placeholdit:placeholder' width=240 height=80 background='fbd206' color='fff' text='Automatically' %}">
<img src="{% url 'placeholdit:placeholder' width=240 height=80 background='fbd206' color='fff' text='scaled!' %}">
<img src="{% url 'placeholdit:placeholder' width=160 background='93C663' color='3F740E' text='gif/jpeg/png' format='jpg' %}">

Resulting in:

<img src="">
<img src="">
<img src="">
<img src="">
<img src="">
<img src="">
<img src="">


Feel free to fork django-placeholdit on GitHub! I’d love to see your pull requests.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-placeholdit-1.0.2.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None Jun 3, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page