Model / settings for allow-listing

This commit is contained in:
Eliot Berriot 2019-06-17 08:48:05 +02:00
parent 1a52dfcc1d
commit 2b2b64f0a7
8 changed files with 90 additions and 1 deletions

View file

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