From b46594dfa56ca33dbe7df9ea2f5e50d1e4503e7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 14 Jun 2014 14:42:23 +0200 Subject: [PATCH] [Models] extend Podcast.common_episode_title to 100 chars --- mygpo/podcasts/migrations/0011_auto_20140614_1241.py | 19 +++++++++++++++++++ mygpo/podcasts/models.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 mygpo/podcasts/migrations/0011_auto_20140614_1241.py diff --git a/mygpo/podcasts/migrations/0011_auto_20140614_1241.py b/mygpo/podcasts/migrations/0011_auto_20140614_1241.py new file mode 100644 index 00000000..039f902f --- /dev/null +++ b/mygpo/podcasts/migrations/0011_auto_20140614_1241.py @@ -0,0 +1,19 @@ +# encoding: utf8 +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('podcasts', '0010_auto_20140614_1232'), + ] + + operations = [ + migrations.AlterField( + model_name='podcast', + name='common_episode_title', + field=models.CharField(max_length=100, blank=True), + ), + ] diff --git a/mygpo/podcasts/models.py b/mygpo/podcasts/models.py index 2859e918..6861b991 100644 --- a/mygpo/podcasts/models.py +++ b/mygpo/podcasts/models.py @@ -233,7 +233,7 @@ class Podcast(UUIDModel, TitleModel, DescriptionModel, LinkModel, #subscribers = SchemaListProperty(SubscriberData) restrictions = models.CharField(max_length=20, null=True, blank=True) - common_episode_title = models.CharField(max_length=50, null=False, blank=True) + common_episode_title = models.CharField(max_length=100, null=False, blank=True) new_location = models.URLField(max_length=1000, null=True, blank=False) latest_episode_timestamp = models.DateTimeField(null=True) episode_count = models.PositiveIntegerField(default=0) -- 2.11.4.GIT