Increase the size of the mailing profile label field to 128 characters.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-17 21:23:59 -04:00
parent 20e0a2d7a1
commit 7a8881c305
4 changed files with 23 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
- Add support for granting the document type edit, document type delete, and document type view
permissions to individual document type instances.
- Improved tests by testing for accesses.
- Increase the size of the mailing profile label field to 128 characters.
2.5.2 (2017-07-08)
==================

View File

@@ -80,6 +80,7 @@ Other Changes
- Sort indexes by label.
- Switch the order of the DEFAULT_AUTHENTICATION_CLASSES of DRF. GitLab #400.
- Improve code to unbind menu entries.
- Increase the size of the mailing profile label field to 128 characters.
Removals
--------

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-07-18 01:23
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mailer', '0004_auto_20170714_2133'),
]
operations = [
migrations.AlterField(
model_name='usermailer',
name='label',
field=models.CharField(max_length=128, unique=True, verbose_name='Label'),
),
]

View File

@@ -30,7 +30,7 @@ class LogEntry(models.Model):
class UserMailer(models.Model):
label = models.CharField(
max_length=32, unique=True, verbose_name=_('Label')
max_length=128, unique=True, verbose_name=_('Label')
)
default = models.BooleanField(
default=True, help_text=_(