The size of the document type label field has been increased from 32 to 96 characters.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-17 03:14:27 -04:00
parent 804ef00d41
commit 206dbb9b5b
4 changed files with 25 additions and 2 deletions

View File

@@ -155,6 +155,8 @@
ModelAttribute for executable model attributes and ModelField
for actual ORM fields.
- Expose more document fields for use in smart links.
- The size of the document type label field has been increased
from 32 to 96 characters.
3.0.3 (2018-08-17)
==================

View File

@@ -371,7 +371,8 @@ classes beyond the provide line chart.
ModelAttribute for executable model attributes and ModelField
for actual ORM fields.
- Expose more document fields for use in smart links.
- The size of the document type label field has been increased
from 32 to 96 characters.
Removals
--------

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-09-17 07:13
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('documents', '0045_auto_20180917_0645'),
]
operations = [
migrations.AlterField(
model_name='documenttype',
name='label',
field=models.CharField(help_text='The name of the document type.', max_length=96, unique=True, verbose_name='Label'),
),
]

View File

@@ -70,7 +70,7 @@ class DocumentType(models.Model):
properties can be attached
"""
label = models.CharField(
help_text=_('The name of the document type.'), max_length=32,
help_text=_('The name of the document type.'), max_length=96,
unique=True, verbose_name=_('Label')
)
trash_time_period = models.PositiveIntegerField(