This is the proof-of-concept implementation of WAS. Read more.
It requires Django 1.6 and Python 2.7 (as packaged e.g. in Ubuntu 14.10.)
- Plug into your authentication system so people don't have to log onto WAS specifically
- Add an HTML template as appropriate to
{% include %}
into your web application - Add or customize
problem_detected
signal handlers (seeweather\signals.py
) - Determine a moment when it is appropriate to show the block, and show it to the user at that time.
- Secure the contents of the
TodayVotes
table, for example through database roles. The other tables defined in the weather application contain public data. - Schedule a daily job as appropriate for your system. It should run
python manage.py do_day_rollover
. - Remove (or customize) the bootstrapping code in the
init
function of themodels.py
file.