diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/essays/admin.py | 2 | ||||
-rw-r--r-- | app/essays/migrations/0001_initial.py | 2 | ||||
-rw-r--r-- | app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py | 6 | ||||
-rw-r--r-- | app/jrnl/migrations/0017_entry_field_notes.py | 6 |
4 files changed, 2 insertions, 14 deletions
diff --git a/app/essays/admin.py b/app/essays/admin.py index 8b16c19..ed39ca3 100644 --- a/app/essays/admin.py +++ b/app/essays/admin.py @@ -4,6 +4,7 @@ from utils.widgets import LGEntryForm from .models import Essay + @admin.register(Essay) class EssayAdmin(admin.ModelAdmin): form = LGEntryForm @@ -31,6 +32,7 @@ class EssayAdmin(admin.ModelAdmin): 'originally_published_by', 'originally_published_by_url', 'afterword', + 'preamble', ('field_notes', 'books'), ), 'classes': ( diff --git a/app/essays/migrations/0001_initial.py b/app/essays/migrations/0001_initial.py index e315809..7b7ea62 100644 --- a/app/essays/migrations/0001_initial.py +++ b/app/essays/migrations/0001_initial.py @@ -11,7 +11,6 @@ class Migration(migrations.Migration): dependencies = [ ('photos', '0018_auto_20161130_1218'), - ('sketches', '0002_auto_20180208_0743'), ('books', '0007_auto_20190131_2351'), ('taxonomy', '0001_initial'), ] @@ -39,7 +38,6 @@ class Migration(migrations.Migration): ('afterword', models.TextField(blank=True)), ('books', models.ManyToManyField(blank=True, to='books.Book')), ('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='sketches.Sketch')), ('tags', taggit.managers.TaggableManager(blank=True, help_text='Topics Covered', through='taxonomy.TaggedItems', to='taxonomy.LuxTag', verbose_name='Tags')), ], options={ diff --git a/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py b/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py index a74b598..4b1dea3 100644 --- a/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py +++ b/app/jrnl/migrations/0001_squashed_0019_remove_entry_thumbnail.py @@ -14,7 +14,6 @@ class Migration(migrations.Migration): dependencies = [ ('photos', '0016_auto_20161022_1411'), - ('sketches', '0002_auto_20180208_0743'), ('books', '0005_auto_20171214_2239'), ('photos', '0010_auto_20160517_0906'), ('photos', '0003_luxgallery_caption_style'), @@ -71,11 +70,6 @@ class Migration(migrations.Migration): ), migrations.AddField( model_name='entry', - name='field_notes', - field=models.ManyToManyField(blank=True, to='sketches.Sketch'), - ), - migrations.AddField( - model_name='entry', name='books', field=models.ManyToManyField(blank=True, to='books.Book'), ), diff --git a/app/jrnl/migrations/0017_entry_field_notes.py b/app/jrnl/migrations/0017_entry_field_notes.py index e013d5d..f131183 100644 --- a/app/jrnl/migrations/0017_entry_field_notes.py +++ b/app/jrnl/migrations/0017_entry_field_notes.py @@ -6,14 +6,8 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('sketches', '0002_auto_20180208_0743'), ('jrnl', '0016_auto_20161219_1058'), ] operations = [ - migrations.AddField( - model_name='entry', - name='field_notes', - field=models.ManyToManyField(to='sketches.Sketch'), - ), ] |