1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #2962: Increase ExportTemplate mime_type field length

This commit is contained in:
Jeremy Stretch
2019-03-05 13:08:40 -05:00
parent 0c142f2078
commit cfb56f7cfe
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 2.1.7 on 2019-03-05 18:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('extras', '0016_exporttemplate_add_cable'),
]
operations = [
migrations.AlterField(
model_name='exporttemplate',
name='mime_type',
field=models.CharField(blank=True, max_length=50),
),
]

View File

@@ -357,7 +357,7 @@ class ExportTemplate(models.Model):
)
template_code = models.TextField()
mime_type = models.CharField(
max_length=15,
max_length=50,
blank=True
)
file_extension = models.CharField(