Easy scheduling for regular film nights
Project description
Vote4Film
Simplify film selection for regular film nights. Participants can:
- Add films
- Vote for films
- Declare absences
- See the schedule which takes into account votes and absences
Admins can set the schedule of film nights.
This is a simple WSGI Web Application. The back-end is Django, and the front-end is dynamic HTML served by Django (no JavaScript is used).
Development
poetry install
to set-up the virtualenv (one-off)poetry run ./src/vote4film/manage.py migrate
to set-up the local DB (one-off)poetry run ./src/vote4film/manage.py runserver_plus
make fix
,make check
andmake test
before committing
Contributing
Pull requests are welcome :)
Publishing
This application is published on PyPi.
- Ensure you have configured the PyPi repository with Poetry (one-off)
- Add the release notes in this README.md
poetry version minor
to bump the major/minor/patch versionpoetry publish --build
to release
To publish to the test repository:
- Ensure you have configured the Test PyPi repository with Poetry (one-off)
poetry publish --build -r testpypi
to upload to the test repository
Deployment
Unfortunately, I will not provide detailed guidance for production deployment.
Some general tips:
- Create a virtualenv, e.g. in
~/virtualenv
- Install with
pip install vote4film[postgres]
- Write the configuration at
~/.config/vote4film/local.env
- Use Postgres as the database
- Use Nginx/uWSGI to to serve the site (with HTTPS)
- Run Django management commands using
./virtualenv/bin/manage
Changelog
Unpublished
...
v1.2.1 - 2019-11-21
- Remove "film is not available" from the voting page
- Remove "vote for this film" from the voting page
- Fix the upcoming page asking absent users to register on calender
v1.2.0 - 2019-11-21
- Fix ranking films with zero votes as number one
- Hide upcoming film until the user has registered for the next event
- Clarify what will happen when adding a film by giving the user more choices
- Fix HTTP 500 error when adding a film that was already added
- Hide a film's votes from the user until they have voted
v1.1.0 - 2019/11/16
- Show the register of present/absent users for upcoming films
- Fix not highlighting films that are not available to be watched
- Fix parsing of "Not Rated" age ratings resulting in an error
v1.0.9 - 2019/11/13
- Actually let's not be too dumb about packaging
v1.0.8 - 2019/11/13
- Rename management command from vote4film to manage
- Stop trying to be smart about packaging
v1.0.7 - 2019/11/13
- The same fixes as v1.0.6 but for real this time
v1.0.6 - 2019/11/13
- Fix url patterns for internal apps in installed environment
- Fix missing template files in PyPi package (so typical!)
v1.0.5 - 2019/11/12
- Add optional postgres support, e.g.
pip install vote4film[postgres]
v1.0.4 - 2019/11/12
- Fix bug loading config from XDG config home (sigh)
- Fix django-extensions being missed from dependencies
v1.0.3 - 2019/11/12
- Fix config sub-directory used in XDG config home
v1.0.2 - 2019/11/12
- Load configuration from XDG config home
v1.0.1 - 2019/11/10
- First release of Vote4Film
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vote4film-1.2.1.tar.gz
(35.4 kB
view details)
Built Distribution
vote4film-1.2.1-py3-none-any.whl
(46.9 kB
view details)
File details
Details for the file vote4film-1.2.1.tar.gz
.
File metadata
- Download URL: vote4film-1.2.1.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.8.0 Linux/5.3.11-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5cca425b1a20536978c13b8c760105b1e1825e26eb9aa017f13f291167a3e7 |
|
MD5 | dc9352134a240235b342b49f2333a57c |
|
BLAKE2b-256 | df693bd2c6f9b2bc2d06d94cf41be5c4bf04bd2950483c6f95d6d8df62c47c8c |
File details
Details for the file vote4film-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: vote4film-1.2.1-py3-none-any.whl
- Upload date:
- Size: 46.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.8.0 Linux/5.3.11-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d619650e6ea05da0895f76cc319bb975b324daeb82260c9c055eeb290dc75aa |
|
MD5 | 9c3526a4182f8f78744496f1f227c0de |
|
BLAKE2b-256 | ec667cefef67680a3896648b5f813328eca178588c4dc8452c1bca4b2c1405e1 |