mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:49:21 +02:00
Model / settings for allow-listing
This commit is contained in:
parent
1a52dfcc1d
commit
2b2b64f0a7
8 changed files with 90 additions and 1 deletions
|
@ -118,6 +118,9 @@ class Domain(models.Model):
|
|||
null=True,
|
||||
blank=True,
|
||||
)
|
||||
# are interactions with this domain allowed (only applies when allow-listing is on)
|
||||
allowed = models.BooleanField(default=None, null=True)
|
||||
|
||||
objects = DomainQuerySet.as_manager()
|
||||
|
||||
def __str__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue