stash
This commit is contained in:
parent
68e146ffd4
commit
d3b832f45a
2 changed files with 7 additions and 3 deletions
|
@ -16,9 +16,11 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
def create_required_templates(apps, schema_editor):
|
||||
MessageTemplate.objects.create(name='auto_reply', message=auto_reply_body)
|
||||
MessageTemplate.objects.create(name='new_issue_notification', message=new_issue_notification)
|
||||
MessageTemplate.objects.create(name='reply_issue_notification', message=reply_issue_notification)
|
||||
MessageTemplate.objects.create(name='auto_reply', message=auto_reply_body, marked_required=True)
|
||||
MessageTemplate.objects.create(name='new_issue_notification', message=new_issue_notification,
|
||||
marked_required=True)
|
||||
MessageTemplate.objects.create(name='reply_issue_notification', message=reply_issue_notification,
|
||||
marked_required=True)
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
|
@ -29,6 +31,7 @@ class Migration(migrations.Migration):
|
|||
('message', models.TextField()),
|
||||
('created', models.DateTimeField(auto_now_add=True)),
|
||||
('marked_confidential', models.BooleanField(default=False)),
|
||||
('marked_required', models.BooleanField(default=False)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue