[Podcasts] fix linking to podcasts w/o title
[mygpo.git] / mygpo / directory / migrations / 0001_initial.py
blob89c85d2aec110ba9ee70fa16a58b2defc32ab67a
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
7 class Migration(migrations.Migration):
9 dependencies = [
10 ('podcasts', '0028_episode_indexes'),
13 operations = [
14 migrations.CreateModel(
15 name='ExamplePodcast',
16 fields=[
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')),
23 options={
24 'ordering': ['order'],
25 'abstract': False,
27 bases=(models.Model,),
29 migrations.AlterUniqueTogether(
30 name='examplepodcast',
31 unique_together=set([('order',)]),