Recipient.template moves from CharField to TextField

- Legacy-Id: 10092
This commit is contained in:
Robert Sparks 2015-09-17 21:20:42 +00:00
parent dbe4e3789d
commit 0b80f1a42c
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class Migration(migrations.Migration):
fields=[
('slug', models.CharField(max_length=32, serialize=False, primary_key=True)),
('desc', models.TextField(blank=True)),
('template', models.CharField(max_length=512, null=True, blank=True)),
('template', models.TextField(null=True, blank=True)),
],
options={
'ordering': ['slug'],

View file

@ -20,7 +20,7 @@ class MailTrigger(models.Model):
class Recipient(models.Model):
slug = models.CharField(max_length=32, primary_key=True)
desc = models.TextField(blank=True)
template = models.CharField(max_length=512, null=True, blank=True)
template = models.TextField(null=True, blank=True)
class Meta:
ordering = ["slug"]