Skip to main content
Help us improve Python packaging – donate today!

A django port of fakeimg.pl

Project Description

django-fakeimg
==============

A django port of fakeimg.pl

Installation
============

Run `pip install django-fakeimg`.

Add `fakeimg` to your `INSTALLED_APPS` setting:

INSTALLED_APPS = (
...
'fakeimg',
)

Example usage
=============

In a template,

<img src="{% url fakeimg_placeholder 100 %}" />
<img src="{% url fakeimg_placeholder 100 200 %}" />
<img src="{% url fakeimg_placeholder 100 200 'ccc' 'ddd'%}" />
<img src="{% url fakeimg_placeholder 100 %}?text=Hello&fond=lobster" />

Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

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-fakeimg-0.1.2.tar.gz (112.0 kB) Copy SHA256 hash SHA256 Source None Nov 26, 2012

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