From 95049ec92b9e86780b07964c4b8d90f33b3d412b Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Wed, 28 Feb 2024 08:32:02 -0800 Subject: [PATCH] Rename verbose plural "mature" to "sensitive" in API admin (#3837) --- .../0057_alter_sensitiveaudio_options.py | 17 +++++++++++++++++ api/api/models/audio.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 api/api/migrations/0057_alter_sensitiveaudio_options.py diff --git a/api/api/migrations/0057_alter_sensitiveaudio_options.py b/api/api/migrations/0057_alter_sensitiveaudio_options.py new file mode 100644 index 00000000000..9d0c6eb0289 --- /dev/null +++ b/api/api/migrations/0057_alter_sensitiveaudio_options.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.9 on 2024-02-28 05:36 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0056_rename_mature_to_sensitive'), + ] + + operations = [ + migrations.AlterModelOptions( + name='sensitiveaudio', + options={'verbose_name_plural': 'Sensitive audio'}, + ), + ] diff --git a/api/api/models/audio.py b/api/api/models/audio.py index fc25b1546f2..1c037848447 100644 --- a/api/api/models/audio.py +++ b/api/api/models/audio.py @@ -284,7 +284,7 @@ class SensitiveAudio(AbstractSensitiveMedia): class Meta: db_table = "api_matureaudio" - verbose_name_plural = "Mature audio" + verbose_name_plural = "Sensitive audio" class AudioReport(AbstractMediaReport):