[DB] fix migrations created with Python 2
[mygpo.git] / mygpo / podcasts / migrations / 0019_ondelete.py
blob00d60954c06c93041021d930cb2a0aadd74ad978
1 # encoding: utf8
4 from django.db import models, migrations
5 import django.db.models.deletion
8 class Migration(migrations.Migration):
10 dependencies = [
11 ('podcasts', '0018_podcast_released'),
14 operations = [
15 migrations.AlterField(
16 model_name='slug',
17 name='content_type',
18 field=models.ForeignKey(to='contenttypes.ContentType', on_delete=django.db.models.deletion.PROTECT, to_field='id'),
20 migrations.AlterField(
21 model_name='podcast',
22 name='group',
23 field=models.ForeignKey(to='podcasts.PodcastGroup', on_delete=django.db.models.deletion.PROTECT, to_field='id', null=True),
25 migrations.AlterField(
26 model_name='tag',
27 name='content_type',
28 field=models.ForeignKey(to='contenttypes.ContentType', on_delete=django.db.models.deletion.PROTECT, to_field='id'),
30 migrations.AlterField(
31 model_name='mergeduuid',
32 name='content_type',
33 field=models.ForeignKey(to='contenttypes.ContentType', on_delete=django.db.models.deletion.PROTECT, to_field='id'),
35 migrations.AlterField(
36 model_name='url',
37 name='content_type',
38 field=models.ForeignKey(to='contenttypes.ContentType', on_delete=django.db.models.deletion.PROTECT, to_field='id'),
40 migrations.AlterField(
41 model_name='episode',
42 name='podcast',
43 field=models.ForeignKey(to='podcasts.Podcast', on_delete=django.db.models.deletion.PROTECT, to_field='id'),