Skip to content

Commit

Permalink
edit descriptions of OwnershipRequestSerializer and OwnershipRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
gabeweng committed Oct 18, 2024
1 parent dc828b2 commit 5fba7b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/clubs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion backend/clubs/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 5fba7b8

Please sign in to comment.