Increase path to 4096 character

master
dojutsu-user 2019-02-23 20:39:06 +05:30
parent 86bfdffaee
commit a9bdb460a3
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-02-23 15:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects', '0039_update-doctype-helptext'),
]
operations = [
migrations.AlterField(
model_name='importedfile',
name='path',
field=models.CharField(max_length=4096, verbose_name='Path'),
),
]

View File

@ -1089,7 +1089,7 @@ class ImportedFile(models.Model):
)
name = models.CharField(_('Name'), max_length=255)
slug = models.SlugField(_('Slug'))
path = models.CharField(_('Path'), max_length=255)
path = models.CharField(_('Path'), max_length=4096)
md5 = models.CharField(_('MD5 checksum'), max_length=255)
commit = models.CharField(_('Commit'), max_length=255)
modified_date = models.DateTimeField(_('Modified date'), auto_now=True)