1 # -*- coding: utf-8 -*-
2 from __future__
import unicode_literals
4 from django
.db
import models
, migrations
7 class Migration(migrations
.Migration
):
10 ('podcasts', '0028_episode_indexes'),
14 migrations
.CreateModel(
15 name
='ExamplePodcast',
17 ('id', models
.AutoField(verbose_name
='ID', serialize
=False, auto_created
=True, primary_key
=True)),
18 ('created', models
.DateTimeField(auto_now_add
=True)),
19 ('modified', models
.DateTimeField(auto_now
=True)),
20 ('order', models
.PositiveSmallIntegerField()),
21 ('podcast', models
.ForeignKey(to
='podcasts.Podcast')),
24 'ordering': ['order'],
27 bases
=(models
.Model
,),
29 migrations
.AlterUniqueTogether(
30 name
='examplepodcast',
31 unique_together
=set([('order',)]),