Skip to content

Commit

Permalink
page file name is not long enough. extended to 200.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 14, 2016
1 parent a2f3e76 commit 586f4ad
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions comic/migrations/0016_auto_20160414_1335.py
Original file line number Diff line number Diff line change
@@ -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),
),
]
2 changes: 1 addition & 1 deletion comic/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def get_ordered_dir_list(folder):
class ComicPage(models.Model):
Comic = models.ForeignKey(ComicBook, on_delete=models.CASCADE)
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)


Expand Down

0 comments on commit 586f4ad

Please sign in to comment.