Rename 'visible' => 'discoverable'

more clear that it's just the 'front door' we're talking about
This commit is contained in:
Klaas van Schelven
2024-06-17 11:08:29 +02:00
parent 0e199633b9
commit b77fc630e5

View File

@@ -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