Skip to main content

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" />

Project details


Download files

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

Source Distribution

django-fakeimg-0.1.2.tar.gz (112.0 kB view details)

Uploaded Source

File details

Details for the file django-fakeimg-0.1.2.tar.gz.

File metadata

  • Download URL: django-fakeimg-0.1.2.tar.gz
  • Upload date:
  • Size: 112.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-fakeimg-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2626639d011506c4119a9b7b29c3174bc656b5f1905f0b4b9a3cf5b064021ed2
MD5 91231b18090a77a28b6882b612a43a19
BLAKE2b-256 cc8f1bdaad4267ace632f60e62be33aba1cf2bcd61f19599b1dc99a8d6e04d01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page