family: enlarge archive field (#30458)
This commit is contained in:
parent
43b837172b
commit
c6bc553741
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.10 on 2019-02-09 15:46
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('family', '0009_remove_genericfamily_log_level'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='genericfamily',
|
||||
name='archive',
|
||||
field=models.FileField(max_length=256, upload_to=b'archives', verbose_name='Data Archive'),
|
||||
),
|
||||
]
|
|
@ -119,7 +119,7 @@ def dict_cherry_pick(d1, attributes):
|
|||
|
||||
class GenericFamily(BaseResource):
|
||||
category = _('Business Process Connectors')
|
||||
archive = models.FileField(_('Data Archive'), upload_to='archives')
|
||||
archive = models.FileField(_('Data Archive'), upload_to='archives', max_length=256)
|
||||
file_format = models.CharField(
|
||||
_('File Format'), max_length=40,
|
||||
choices=(
|
||||
|
|
Loading…
Reference in New Issue