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.
Metadata
Release files for wagtail-photo-voter 0.10.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail_photo_voter-0.10.3.tar.gz | 33.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_photo_voter-0.10.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.9 kB
Release files / wagtail_photo_voter-0.10.3.tar.gz
| Download URL | wagtail_photo_voter-0.10.3.tar.gz |
|---|---|
| Size | 33.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
548b5f93da3e45b175c8535c2b3e9cbe7eb4ad5cc90c8c471873e3c60a1c932c
|
|
BLAKE2b-256 checksum How to use checksums |
f56d82c53b6d8e390cc2882b3ad5973d54983e19c0122202e5c98ff960ac913c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Release files / wagtail_photo_voter-0.10.3-py3-none-any.whl
| Download URL | wagtail_photo_voter-0.10.3-py3-none-any.whl |
|---|---|
| Size | 39.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f4f495955bbbc99775f7ea1bfb593ea2e1d09006bcda1b7341afbe150156129
|
|
BLAKE2b-256 checksum How to use checksums |
a64d9be311e23d8857581e20bed69caf2ef90e3e4d777efe018776eddf3e4d14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|