From e4dca5792a9ef843ae5a1f35a8166551747f33f2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 14 Sep 2019 08:36:11 -0400 Subject: Worked on guides, moved some templates to app/dir --- app/guides/migrations/0004_auto_20190914_0646.py | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app/guides/migrations/0004_auto_20190914_0646.py (limited to 'app/guides/migrations/0004_auto_20190914_0646.py') diff --git a/app/guides/migrations/0004_auto_20190914_0646.py b/app/guides/migrations/0004_auto_20190914_0646.py new file mode 100644 index 0000000..ccd79a5 --- /dev/null +++ b/app/guides/migrations/0004_auto_20190914_0646.py @@ -0,0 +1,47 @@ +# Generated by Django 2.1.7 on 2019-09-14 06:46 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('guides', '0003_guide_category'), + ] + + operations = [ + migrations.RenameField( + model_name='guide', + old_name='afterword', + new_name='epilogue_html', + ), + migrations.RenameField( + model_name='guide', + old_name='afterword_html', + new_name='epilogue_markdown', + ), + migrations.RenameField( + model_name='guide', + old_name='preamble_html', + new_name='prologue_html', + ), + migrations.RenameField( + model_name='guide', + old_name='preamble_markdown', + new_name='prologue_markdown', + ), + migrations.RemoveField( + model_name='guide', + name='essays', + ), + migrations.AddField( + model_name='guide', + name='disclaimer', + field=models.BooleanField(blank=True, default=False), + ), + migrations.AddField( + model_name='guide', + name='post_type', + field=models.IntegerField(choices=[(0, 'guide'), (1, 'review')], default=0), + ), + ] -- cgit v1.2.3-70-g09d2