From 8c7b0e1abe1983fac38322c3bc01165c4c693d7e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 27 Dec 2024 09:47:42 -0600 Subject: jrnl: added a photo essay post type and new url/template/views. also cleared out some old unneeded files --- .../0009_remove_luximage_exif_aperture_and_more.py | 49 ++++++++++++++++++++++ app/media/migrations/0010_luximage_image_type.py | 18 ++++++++ 2 files changed, 67 insertions(+) create mode 100644 app/media/migrations/0009_remove_luximage_exif_aperture_and_more.py create mode 100644 app/media/migrations/0010_luximage_image_type.py (limited to 'app/media/migrations') diff --git a/app/media/migrations/0009_remove_luximage_exif_aperture_and_more.py b/app/media/migrations/0009_remove_luximage_exif_aperture_and_more.py new file mode 100644 index 0000000..631c12c --- /dev/null +++ b/app/media/migrations/0009_remove_luximage_exif_aperture_and_more.py @@ -0,0 +1,49 @@ +# Generated by Django 5.0.4 on 2024-12-25 11:50 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('media', '0008_auto_20201202_1155'), + ] + + operations = [ + migrations.RemoveField( + model_name='luximage', + name='exif_aperture', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_date', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_exposure', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_focal_length', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_iso', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_lens', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_make', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_model', + ), + migrations.RemoveField( + model_name='luximage', + name='exif_raw', + ), + ] diff --git a/app/media/migrations/0010_luximage_image_type.py b/app/media/migrations/0010_luximage_image_type.py new file mode 100644 index 0000000..ed8cad9 --- /dev/null +++ b/app/media/migrations/0010_luximage_image_type.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0.4 on 2024-12-25 11:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('media', '0009_remove_luximage_exif_aperture_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='luximage', + name='image_type', + field=models.IntegerField(choices=[(0, 'Photo'), (1, 'Sketch')], default=0), + ), + ] -- cgit v1.2.3-70-g09d2