diff options
author | lxf <sng@luxagraf.net> | 2021-10-30 17:18:57 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-10-30 17:18:57 -0400 |
commit | 7b628e9cde7fe2babe16523b7d1d44df0c468203 (patch) | |
tree | d2303d4b6fb316ff32bf58c2afebc6fcd7f30a1e /app/posts/migrations/0003_auto_20211030_1955.py | |
parent | 940da61accfd124a2dfc90fb585434203f39685b (diff) |
posts: made podcast posttype and templates
Diffstat (limited to 'app/posts/migrations/0003_auto_20211030_1955.py')
-rw-r--r-- | app/posts/migrations/0003_auto_20211030_1955.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app/posts/migrations/0003_auto_20211030_1955.py b/app/posts/migrations/0003_auto_20211030_1955.py new file mode 100644 index 0000000..b54cdd8 --- /dev/null +++ b/app/posts/migrations/0003_auto_20211030_1955.py @@ -0,0 +1,38 @@ +# Generated by Django 3.2.8 on 2021-10-30 19:55 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('media', '0002_auto_20211030_1634'), + ('posts', '0002_alter_post_id'), + ] + + operations = [ + migrations.RemoveField( + model_name='post', + name='site', + ), + migrations.RemoveField( + model_name='post', + name='template_name', + ), + migrations.AddField( + model_name='post', + name='featured_audio', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='media.luxaudio'), + ), + migrations.AddField( + model_name='post', + name='issue', + field=models.PositiveIntegerField(null=True), + ), + migrations.AlterField( + model_name='post', + name='post_type', + field=models.IntegerField(choices=[(0, 'Podcast'), (1, 'jrnl'), (2, 'field note')], default=1), + ), + ] |