From 5fba7b88fd85faaf45f444cae26f216f062e1405 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 18 Oct 2024 06:53:50 -0400 Subject: [PATCH] edit descriptions of OwnershipRequestSerializer and OwnershipRequest --- backend/clubs/models.py | 2 +- backend/clubs/serializers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/clubs/models.py b/backend/clubs/models.py index da3f22812..9c08e3437 100644 --- a/backend/clubs/models.py +++ b/backend/clubs/models.py @@ -1124,7 +1124,7 @@ class Meta: class OwnershipRequest(models.Model): """ - Used when users request ownership from the owner + Represents a user's request to take ownership of a club """ person = models.ForeignKey(get_user_model(), on_delete=models.CASCADE) diff --git a/backend/clubs/serializers.py b/backend/clubs/serializers.py index 94a28a9cb..d1fa6375e 100644 --- a/backend/clubs/serializers.py +++ b/backend/clubs/serializers.py @@ -2002,7 +2002,7 @@ class Meta: class OwnershipRequestSerializer(serializers.ModelSerializer): """ - Used by club owners/officers to see who has requested to be owner of the club. + Used by club owners to see who has requested to be owner of the club. """ person = serializers.HiddenField(default=serializers.CurrentUserDefault())