Browse Source
added new modell field Project.end_mail_send to assure that mails will be only send once
master
added new modell field Project.end_mail_send to assure that mails will be only send once
master
6 changed files with 54 additions and 5 deletions
-
2README.md
-
2input/forms.py
-
7input/management/commands/sendmails.py
-
18input/migrations/0020_project_project_end_mail.py
-
18input/migrations/0021_auto_20201022_0934.py
-
12input/models.py
@ -0,0 +1,18 @@ |
|||
# Generated by Django 3.1.1 on 2020-10-22 09:07 |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('input', '0019_auto_20201021_1148'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='project', |
|||
name='project_end_mail', |
|||
field=models.BooleanField(null=True), |
|||
), |
|||
] |
@ -0,0 +1,18 @@ |
|||
# Generated by Django 3.1.1 on 2020-10-22 09:34 |
|||
|
|||
from django.db import migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('input', '0020_project_project_end_mail'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RenameField( |
|||
model_name='project', |
|||
old_name='project_end_mail', |
|||
new_name='end_mail_send', |
|||
), |
|||
] |
Write
Preview
Loading…
Cancel
Save
Reference in new issue