diff --git a/backend/gsr_booking/models.py b/backend/gsr_booking/models.py index 002088b4..7e9e2d32 100644 --- a/backend/gsr_booking/models.py +++ b/backend/gsr_booking/models.py @@ -78,7 +78,7 @@ class Group(models.Model): MEMBER = "M" def __str__(self): - return f"{self.pk}: {self.name}" + return f"{self.name}-{self.pk}" def has_member(self, user): memberships = GroupMembership.objects.filter(group=self, user=user)