page file name is not long enough. extended to 200.

This commit is contained in:
ajurna@gmail.com
2016-04-14 13:36:02 +01:00
parent a2f3e76bb2
commit 586f4ad438
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-04-14 12:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('comic', '0015_auto_20160405_1126'),
]
operations = [
migrations.AlterField(
model_name='comicpage',
name='page_file_name',
field=models.CharField(max_length=200),
),
]

View File

@@ -311,7 +311,7 @@ class ComicBook(models.Model):
class ComicPage(models.Model): class ComicPage(models.Model):
Comic = models.ForeignKey(ComicBook, on_delete=models.CASCADE) Comic = models.ForeignKey(ComicBook, on_delete=models.CASCADE)
index = models.IntegerField() index = models.IntegerField()
page_file_name = models.CharField(max_length=100, unique=False) page_file_name = models.CharField(max_length=200, unique=False)
content_type = models.CharField(max_length=30) content_type = models.CharField(max_length=30)