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

A Django app for displaying a randomly selected image out of a set of django-filer images.

Project description

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.

Project details


Release history Release notifications

This version
History Node

0.2

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-random-image-0.2.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Jul 25, 2016

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