1
0
Fork 0

Adds IP blocklist views

This commit is contained in:
Mouse Reeve 2021-09-17 12:59:16 -07:00
parent 8a5004d947
commit 6022e7b232
13 changed files with 173 additions and 5 deletions

View file

@ -311,6 +311,12 @@ class EmailBlocklistForm(CustomForm):
fields = ["domain"]
class IPBlocklistForm(CustomForm):
class Meta:
model = models.IPBlocklist
fields = ["address"]
class ServerForm(CustomForm):
class Meta:
model = models.FederatedServer