Skip to main content

A Wagtail module for creating Photo competitions with voting

Project description

Wagtail-photo-voter

A Wagtail module for creating Photo competitions with voting.

How to install

Install using pip:

pip install wagtail-photo-voter

Also needs ExifTool from https://exiftool.org/install.html installed

Settings

In your settings file, add wagtailphotovoter and wagtail.contrib.routable_page to INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    'wagtail.contrib.routable_page',
    'wagtailphotovoter',
    # ...
]

How to use

The basics

To add a competition create a new page of typ Competition enter title and rules (shown on submission page). You can enter dates for when submissions are allowed (if empty always allowed) and voting dates (empty, always allowed).

Templates are extending base.html which should have blocks for content extra_css extra_js.

And Bootstrap, and jQuery loaded (for example via django-bootstrap4)

You can modify the point-system with commasepareted values and allow same points. 0 points can always be given to any entry.

Voting is allowed for users in the group with name competition-id-slug and available at: competition-page/vote results available at competition-page/result.

Project details


Download files

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

Files for wagtail-photo-voter, version 0.10.2
Filename, size File type Python version Upload date Hashes
Filename, size wagtail_photo_voter-0.10.2-py3-none-any.whl (39.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wagtail_photo_voter-0.10.2.tar.gz (33.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page