From b77fc630e5a257722ef824d58872ef0ad54e54a9 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Mon, 17 Jun 2024 11:08:29 +0200 Subject: [PATCH] Rename 'visible' => 'discoverable' more clear that it's just the 'front door' we're talking about --- teams/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/models.py b/teams/models.py index 3a154c9..3f8bd21 100644 --- a/teams/models.py +++ b/teams/models.py @@ -23,7 +23,7 @@ class Team(models.Model): name = models.CharField(max_length=255, blank=False, null=False, unique=True) slug = models.SlugField(max_length=50, blank=False, null=False) - visibility = models.IntegerField(choices=TeamVisibility.choices, default=TeamVisibility.VISIBLE) + visibility = models.IntegerField(choices=TeamVisibility.choices, default=TeamVisibility.DISCOVERABLE) def __str__(self): return self.name