summaryrefslogtreecommitdiff
path: root/app/pages/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/pages/migrations
parentd4e55690d3293f375cb207693e9b02b39b4a940e (diff)
ready to get rid of photos model for media model
Diffstat (limited to 'app/pages/migrations')
-rw-r--r--app/pages/migrations/0007_homepage.py3
-rw-r--r--app/pages/migrations/0008_auto_20201114_0934.py3
-rw-r--r--app/pages/migrations/0010_page_featured_image.py3
3 files changed, 3 insertions, 6 deletions
diff --git a/app/pages/migrations/0007_homepage.py b/app/pages/migrations/0007_homepage.py
index c11aae9..80682e2 100644
--- a/app/pages/migrations/0007_homepage.py
+++ b/app/pages/migrations/0007_homepage.py
@@ -8,7 +8,6 @@ class Migration(migrations.Migration):
dependencies = [
('posts', '0015_post_old_image'),
- ('photos', '0019_auto_20190704_0903'),
('pages', '0006_page_enable_comments'),
]
@@ -21,7 +20,7 @@ class Migration(migrations.Migration):
('tag_line', models.CharField(max_length=200, null=True)),
('template_name', models.CharField(help_text='full path', max_length=200)),
('featured', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='banner', to='posts.post')),
- ('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')),
('popular', models.ManyToManyField(related_name='popular', to='posts.Post')),
],
),
diff --git a/app/pages/migrations/0008_auto_20201114_0934.py b/app/pages/migrations/0008_auto_20201114_0934.py
index e8465a6..b24f46c 100644
--- a/app/pages/migrations/0008_auto_20201114_0934.py
+++ b/app/pages/migrations/0008_auto_20201114_0934.py
@@ -7,7 +7,6 @@ import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
- ('photos', '0019_auto_20190704_0903'),
('pages', '0007_homepage'),
]
@@ -15,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='homepage',
name='featured_image',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='photos.luximage'),
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='media.luximage'),
),
migrations.AlterField(
model_name='homepage',
diff --git a/app/pages/migrations/0010_page_featured_image.py b/app/pages/migrations/0010_page_featured_image.py
index 931403f..d5fc5e1 100644
--- a/app/pages/migrations/0010_page_featured_image.py
+++ b/app/pages/migrations/0010_page_featured_image.py
@@ -7,7 +7,6 @@ import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
- ('photos', '0019_auto_20190704_0903'),
('pages', '0009_page_site'),
]
@@ -15,6 +14,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='page',
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'),
),
]