Skip to content

Commit

Permalink
Rename verbose plural "mature" to "sensitive" in API admin (#3837)
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored Feb 28, 2024
1 parent 6636dcf commit 95049ec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions api/api/migrations/0057_alter_sensitiveaudio_options.py
Original file line number Diff line number Diff line change
@@ -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'},
),
]
2 changes: 1 addition & 1 deletion api/api/models/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 95049ec

Please sign in to comment.