summaryrefslogtreecommitdiff
path: root/app/posts/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-12-02 12:41:14 -0500
committerluxagraf <sng@luxagraf.net>2020-12-02 12:41:14 -0500
commit8b2b5dec69a1d5d3c9e19c5eda48d1d6f706f9b4 (patch)
tree8ef75a6df028cdf04b2ad603cfd92a587049b15b /app/posts/migrations
parentd4e55690d3293f375cb207693e9b02b39b4a940e (diff)
ready to get rid of photos model for media model
Diffstat (limited to 'app/posts/migrations')
-rw-r--r--app/posts/migrations/0001_initial.py3
-rw-r--r--app/posts/migrations/0003_auto_20190918_1230.py2
-rw-r--r--app/posts/migrations/0004_auto_20190918_1241.py2
3 files changed, 3 insertions, 4 deletions
diff --git a/app/posts/migrations/0001_initial.py b/app/posts/migrations/0001_initial.py
index 3c36ee9..1c878b7 100644
--- a/app/posts/migrations/0001_initial.py
+++ b/app/posts/migrations/0001_initial.py
@@ -15,7 +15,6 @@ class Migration(migrations.Migration):
('normalize', '__first__'),
('taxonomy', '0001_initial'),
('locations', '0018_auto_20190414_2124'),
- ('photos', '0019_auto_20190704_0903'),
]
operations = [
@@ -47,7 +46,7 @@ class Migration(migrations.Migration):
('originally_published_by_url', models.CharField(blank=True, max_length=400)),
('books', models.ManyToManyField(blank=True, to='books.Book')),
('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='taxonomy.Category')),
- ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage')),
+ ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='media.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')),
diff --git a/app/posts/migrations/0003_auto_20190918_1230.py b/app/posts/migrations/0003_auto_20190918_1230.py
index d7c89a8..04fabb0 100644
--- a/app/posts/migrations/0003_auto_20190918_1230.py
+++ b/app/posts/migrations/0003_auto_20190918_1230.py
@@ -24,7 +24,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='post',
name='featured_image',
- field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage'),
+ field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='media.LuxImage'),
),
migrations.AlterField(
model_name='post',
diff --git a/app/posts/migrations/0004_auto_20190918_1241.py b/app/posts/migrations/0004_auto_20190918_1241.py
index da829ad..726446c 100644
--- a/app/posts/migrations/0004_auto_20190918_1241.py
+++ b/app/posts/migrations/0004_auto_20190918_1241.py
@@ -14,6 +14,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='post',
name='featured_image',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage'),
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='media.LuxImage'),
),
]