From 88c68a97874ca0461ef4e1beba7ed75c5fd78f5b Mon Sep 17 00:00:00 2001 From: rwidom Date: Tue, 12 Sep 2023 20:25:49 -0400 Subject: [PATCH] "mature" -> "sensitive" in api help strings --- api/api/migrations/0052_relational_fields.py | 4 ++-- api/api/models/audio.py | 2 +- api/api/models/media.py | 2 +- api/api/serializers/media_serializers.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/api/migrations/0052_relational_fields.py b/api/api/migrations/0052_relational_fields.py index 248e90cc934..f1f46fb9e8d 100644 --- a/api/api/migrations/0052_relational_fields.py +++ b/api/api/migrations/0052_relational_fields.py @@ -39,12 +39,12 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='matureaudio', name='identifier', - field=models.OneToOneField(db_column="identifier", db_constraint=False, help_text='The reference to the mature audio.', on_delete=django.db.models.deletion.DO_NOTHING, primary_key=True, related_name='mature_audio', serialize=False, to='api.audio', to_field='identifier'), + field=models.OneToOneField(db_column="identifier", db_constraint=False, help_text='The reference to the sensitive audio.', on_delete=django.db.models.deletion.DO_NOTHING, primary_key=True, related_name='mature_audio', serialize=False, to='api.audio', to_field='identifier'), ), migrations.AlterField( model_name='matureimage', name='identifier', - field=models.OneToOneField(db_column="identifier", db_constraint=False, help_text='The reference to the mature image.', on_delete=django.db.models.deletion.DO_NOTHING, primary_key=True, related_name='mature_image', serialize=False, to='api.image', to_field='identifier'), + field=models.OneToOneField(db_column="identifier", db_constraint=False, help_text='The reference to the sensitive image.', on_delete=django.db.models.deletion.DO_NOTHING, primary_key=True, related_name='mature_image', serialize=False, to='api.image', to_field='identifier'), ), migrations.RenameField( model_name="audioreport", diff --git a/api/api/models/audio.py b/api/api/models/audio.py index 906651aaa8c..377fc8d716f 100644 --- a/api/api/models/audio.py +++ b/api/api/models/audio.py @@ -279,7 +279,7 @@ class MatureAudio(AbstractMatureMedia): db_constraint=False, db_column="identifier", related_name="mature_audio", - help_text="The reference to the mature audio.", + help_text="The reference to the sensitive audio.", ) class Meta: diff --git a/api/api/models/media.py b/api/api/models/media.py index 5cd795f1323..c6f4ea34051 100644 --- a/api/api/models/media.py +++ b/api/api/models/media.py @@ -353,7 +353,7 @@ class AbstractMatureMedia(PerformIndexUpdateMixin, models.Model): db_constraint=False, db_column="identifier", related_name="mature_abstract_media", - help_text="The reference to the mature media.", + help_text="The reference to the sensitive media.", ) """ Sub-classes must override this field to point to a concrete sub-class of diff --git a/api/api/serializers/media_serializers.py b/api/api/serializers/media_serializers.py index a5f9e54e2af..c56d394bb83 100644 --- a/api/api/serializers/media_serializers.py +++ b/api/api/serializers/media_serializers.py @@ -122,7 +122,7 @@ class MediaSearchRequestSerializer(serializers.Serializer): label="mature", default=False, required=False, - help_text="Whether to include content for mature audiences.", + help_text="Whether to include sensitive content.", ) # The ``unstable__`` prefix is used in the query params.