FEAT: Add a fifteen min cooldown between emails to admins

Probably not the right way to go about it...but it does work!

TODO: How to handle cooldown-emailing shared mailbox addresses?
This commit is contained in:
2020-01-25 00:56:16 +00:00
parent c049874e5f
commit f19286efb0
4 changed files with 49 additions and 19 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 2.0.13 on 2020-01-25 01:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('RIGS', '0037_auto_20200111_1829'),
]
operations = [
migrations.AddField(
model_name='profile',
name='last_emailed',
field=models.DateTimeField(blank=True, null=True),
),
]