mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Currently performs two functions: 1. Inactivates users that have not logged in for at least one year. Closes #478 (Need to circle back round to full deletion SoonTM) 2. Ensures the supervisor database flag is set correctly for each user This is run automatically by the Heroku Scheduler addon at midnight daily.
16 lines
389 B
HTML
16 lines
389 B
HTML
{% load nice_errors from filters %}
|
|
{% if form.errors %}
|
|
<div class="alert alert-danger mb-0">
|
|
<dl>
|
|
{% with form|nice_errors as qq %}
|
|
{% for error_name,desc in qq.items %}
|
|
<span class="row">
|
|
<dt class="col-3">{{error_name}}</dt>
|
|
<dd class="col-9">{{desc}}</dd>
|
|
</span>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
</dl>
|
|
</div>
|
|
{% endif %}
|