summaryrefslogtreecommitdiff
path: root/bak/unused_apps/guides/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-07-28 13:39:02 -0500
committerluxagraf <sng@luxagraf.net>2023-07-28 13:39:02 -0500
commit9a620cf42bf1fe6977e378bd834b41ff4a593dde (patch)
treecf41a0582681cecaf88a30bfe409f9c2be57972a /bak/unused_apps/guides/migrations
parent6e5897117124cd60ae81efb1574c6347f48e60e5 (diff)
main: removed some apps I wasn't using and added bak to git to preserve
a copy of old apps
Diffstat (limited to 'bak/unused_apps/guides/migrations')
-rw-r--r--bak/unused_apps/guides/migrations/0001_initial.py60
-rw-r--r--bak/unused_apps/guides/migrations/0002_remove_guide_category.py17
-rw-r--r--bak/unused_apps/guides/migrations/0003_guide_category.py21
-rw-r--r--bak/unused_apps/guides/migrations/0004_auto_20190914_0646.py47
-rw-r--r--bak/unused_apps/guides/migrations/0005_remove_guide_category.py17
-rw-r--r--bak/unused_apps/guides/migrations/__init__.py0
6 files changed, 162 insertions, 0 deletions
diff --git a/bak/unused_apps/guides/migrations/0001_initial.py b/bak/unused_apps/guides/migrations/0001_initial.py
new file mode 100644
index 0000000..833dfbe
--- /dev/null
+++ b/bak/unused_apps/guides/migrations/0001_initial.py
@@ -0,0 +1,60 @@
+# Generated by Django 2.1.7 on 2019-07-04 09:03
+
+import django.contrib.gis.db.models.fields
+from django.db import migrations, models
+import django.db.models.deletion
+import taggit.managers
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('jrnl', '0043_auto_20190704_0903'),
+ ('books', '0009_book_afflink'),
+ ('photos', '0019_auto_20190704_0903'),
+ ('fieldnotes', '0002_auto_20190303_1222'),
+ ('locations', '0018_auto_20190414_2124'),
+ ('essays', '0010_essay_field_notes'),
+ ('taxonomy', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Guide',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=200)),
+ ('sub_title', models.CharField(blank=True, max_length=200)),
+ ('dek', models.TextField(blank=True)),
+ ('preamble_markdown', models.TextField(blank=True)),
+ ('preamble_html', models.TextField(blank=True)),
+ ('slug', models.SlugField(unique_for_date='pub_date')),
+ ('body_html', models.TextField(blank=True)),
+ ('body_markdown', models.TextField()),
+ ('pub_date', models.DateTimeField(verbose_name='Date published')),
+ ('last_updated', models.DateTimeField(auto_now=True)),
+ ('enable_comments', models.BooleanField(default=False)),
+ ('status', models.IntegerField(choices=[(0, 'Draft'), (1, 'Published')], default=0)),
+ ('meta_description', models.CharField(blank=True, max_length=256, null=True)),
+ ('has_video', models.BooleanField(blank=True, default=False)),
+ ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)),
+ ('afterword', models.TextField(blank=True)),
+ ('afterword_html', models.TextField(blank=True)),
+ ('books', models.ManyToManyField(blank=True, to='books.Book')),
+ ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='taxonomy.Category')),
+ ('essays', models.ManyToManyField(blank=True, to='essays.Essay')),
+ ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage')),
+ ('field_notes', models.ManyToManyField(blank=True, to='fieldnotes.FieldNote')),
+ ('jrnl', models.ManyToManyField(blank=True, to='jrnl.Entry')),
+ ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
+ ('tags', taggit.managers.TaggableManager(blank=True, help_text='Topics Covered', through='taxonomy.TaggedItems', to='taxonomy.LuxTag', verbose_name='Tags')),
+ ],
+ options={
+ 'verbose_name_plural': 'Guides',
+ 'ordering': ('-pub_date',),
+ 'get_latest_by': 'pub_date',
+ },
+ ),
+ ]
diff --git a/bak/unused_apps/guides/migrations/0002_remove_guide_category.py b/bak/unused_apps/guides/migrations/0002_remove_guide_category.py
new file mode 100644
index 0000000..76eefa6
--- /dev/null
+++ b/bak/unused_apps/guides/migrations/0002_remove_guide_category.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.1.7 on 2019-07-04 12:05
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('guides', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='guide',
+ name='category',
+ ),
+ ]
diff --git a/bak/unused_apps/guides/migrations/0003_guide_category.py b/bak/unused_apps/guides/migrations/0003_guide_category.py
new file mode 100644
index 0000000..82d03ac
--- /dev/null
+++ b/bak/unused_apps/guides/migrations/0003_guide_category.py
@@ -0,0 +1,21 @@
+# Generated by Django 2.1.7 on 2019-09-08 17:45
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('taxonomy', '0001_initial'),
+ ('guides', '0002_remove_guide_category'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='guide',
+ name='category',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='taxonomy.Category'),
+ preserve_default=False,
+ ),
+ ]
diff --git a/bak/unused_apps/guides/migrations/0004_auto_20190914_0646.py b/bak/unused_apps/guides/migrations/0004_auto_20190914_0646.py
new file mode 100644
index 0000000..ccd79a5
--- /dev/null
+++ b/bak/unused_apps/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),
+ ),
+ ]
diff --git a/bak/unused_apps/guides/migrations/0005_remove_guide_category.py b/bak/unused_apps/guides/migrations/0005_remove_guide_category.py
new file mode 100644
index 0000000..71d0280
--- /dev/null
+++ b/bak/unused_apps/guides/migrations/0005_remove_guide_category.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.1.7 on 2019-09-14 07:08
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('guides', '0004_auto_20190914_0646'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='guide',
+ name='category',
+ ),
+ ]
diff --git a/bak/unused_apps/guides/migrations/__init__.py b/bak/unused_apps/guides/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/bak/unused_apps/guides/migrations/__init__.py