Fix boarding pass template
Extend length of boarding pass template subject to accommodate new default.
This commit is contained in:
parent
065b73b8ad
commit
690053ae14
2 changed files with 23 additions and 1 deletions
22
vendor/regidesk/regidesk/migrations/0006_auto_20210705_2000.py
vendored
Normal file
22
vendor/regidesk/regidesk/migrations/0006_auto_20210705_2000.py
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 2.2.24 on 2021-07-05 10:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('regidesk', '0005_auto_20210108_2347'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='boardingpass',
|
||||
options={'permissions': (('view_boarding_pass', 'Can view sent boarding passes'), ('send_boarding_pass', 'Can send boarding passes')), 'verbose_name': 'Boarding Pass', 'verbose_name_plural': 'Boarding Passes'},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='boardingpasstemplate',
|
||||
name='subject',
|
||||
field=models.CharField(max_length=255, verbose_name='Subject'),
|
||||
),
|
||||
]
|
2
vendor/regidesk/regidesk/models.py
vendored
2
vendor/regidesk/regidesk/models.py
vendored
|
@ -29,7 +29,7 @@ class BoardingPassTemplate(models.Model):
|
|||
|
||||
label = models.CharField(max_length=100, verbose_name="Label")
|
||||
from_address = models.EmailField(verbose_name="From address")
|
||||
subject = models.CharField(max_length=100, verbose_name="Subject")
|
||||
subject = models.CharField(max_length=255, verbose_name="Subject")
|
||||
body = models.TextField(verbose_name="Body")
|
||||
html_body = models.TextField(verbose_name="HTML Body",null=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue