mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 20:19:21 -02:30
Add help text to the ActivityStreamSerializer m2m relationship fields
This commit is contained in:
@@ -4955,8 +4955,10 @@ class InstanceGroupSerializer(BaseSerializer):
|
|||||||
class ActivityStreamSerializer(BaseSerializer):
|
class ActivityStreamSerializer(BaseSerializer):
|
||||||
|
|
||||||
changes = serializers.SerializerMethodField()
|
changes = serializers.SerializerMethodField()
|
||||||
object_association = serializers.SerializerMethodField()
|
object_association = serializers.SerializerMethodField(
|
||||||
object_type = serializers.SerializerMethodField()
|
help_text="When present, shows the field name of the role or relationship that changed.")
|
||||||
|
object_type = serializers.SerializerMethodField(
|
||||||
|
help_text="When present, shows the model on which the role or relationship was defined.")
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def _local_summarizable_fk_fields(self):
|
def _local_summarizable_fk_fields(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user