mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-12-25 12:52:30 -05:00
Add missing migration for Meta options on Subtitle, TranscriptionRequest, and VideoTrimRequest (#1448)
Fixes #1447 This migration adds the missing AlterModelOptions operations for: - Subtitle model (verbose_name: 'Caption', verbose_name_plural: 'Captions') - TranscriptionRequest model (verbose_name: 'Caption Request', verbose_name_plural: 'Caption Requests') - VideoTrimRequest model (verbose_name: 'Trim Request', verbose_name_plural: 'Trim Requests') These Meta options were defined in the models but never migrated, causing makemigrations --dry-run to show pending migrations on fresh clones.
This commit is contained in:
25
files/migrations/0014_alter_subtitle_options_and_more.py
Normal file
25
files/migrations/0014_alter_subtitle_options_and_more.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 5.2.6 on 2025-12-16 14:05
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('files', '0013_page_tinymcemedia'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='subtitle',
|
||||
options={'ordering': ['language__title'], 'verbose_name': 'Caption', 'verbose_name_plural': 'Captions'},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='transcriptionrequest',
|
||||
options={'verbose_name': 'Caption Request', 'verbose_name_plural': 'Caption Requests'},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='videotrimrequest',
|
||||
options={'verbose_name': 'Trim Request', 'verbose_name_plural': 'Trim Requests'},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user