diff options
author | luxagraf <sng@luxagraf.net> | 2020-12-02 12:41:14 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-12-02 12:41:14 -0500 |
commit | 8b2b5dec69a1d5d3c9e19c5eda48d1d6f706f9b4 (patch) | |
tree | 8ef75a6df028cdf04b2ad603cfd92a587049b15b /app/lttr | |
parent | d4e55690d3293f375cb207693e9b02b39b4a940e (diff) |
ready to get rid of photos model for media model
Diffstat (limited to 'app/lttr')
-rw-r--r-- | app/lttr/migrations/0005_auto_20200205_1606.py | 3 | ||||
-rw-r--r-- | app/lttr/models.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/lttr/migrations/0005_auto_20200205_1606.py b/app/lttr/migrations/0005_auto_20200205_1606.py index 0be644e..e3415bb 100644 --- a/app/lttr/migrations/0005_auto_20200205_1606.py +++ b/app/lttr/migrations/0005_auto_20200205_1606.py @@ -7,7 +7,6 @@ import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ - ('photos', '0019_auto_20190704_0903'), ('lttr', '0004_auto_20190212_1529'), ] @@ -26,6 +25,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='newslettermailing', 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'), ), ] diff --git a/app/lttr/models.py b/app/lttr/models.py index f702478..bce6b06 100644 --- a/app/lttr/models.py +++ b/app/lttr/models.py @@ -19,7 +19,7 @@ from taggit.managers import TaggableManager from utils.util import render_images, parse_video, markdown_to_html from taxonomy.models import TaggedItems -from photos.models import LuxImage, LuxImageSize +from media.models import LuxImage, LuxImageSize from books.models import Book |