Skip to main content

django-random-image is a simple django app for using an image randomly from a user-defined set of django-filer images in a django template. Every image is only active during a time range set for it.

Requires django-filer.

Quick start

  1. Install with your favorite tool

  2. Add 'random_image' to INSTALLED_APPS.

  3. Migrate your database.

  4. You can now add images in the admin under Random images.

  5. Add {% load random_image %} to your template of choice and use {% random_image as image %} to load a randomly selected image into the image template variable.

Metadata

Release files for django-random-image 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-random-image 0.1
File Size Uploaded
django-random-image-0.1.tar.gz 3.6 kB Details

Release files / django-random-image-0.1.tar.gz

Download URL django-random-image-0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c1d87996c9719bcaec4f794184fafb4f5b5743d62c7ca5262796ec88c854ddb5
BLAKE2b-256 checksum
How to use checksums
69bf12cef5dfea1a58c6d6174211abdc514b895f2e40771d4d2231642715fdea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2

1 release file

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page