Updates federated server model with notes field
Also makes it more editable, and changes the status types
This commit is contained in:
parent
e3e28973f1
commit
8261fbf86a
4 changed files with 40 additions and 38 deletions
|
@ -19,8 +19,9 @@ class FederatedServer(BookWyrmModel):
|
|||
max_length=255, default="federated", choices=FederationStatus.choices
|
||||
)
|
||||
# is it mastodon, bookwyrm, etc
|
||||
application_type = models.CharField(max_length=255, null=True)
|
||||
application_version = models.CharField(max_length=255, null=True)
|
||||
application_type = models.CharField(max_length=255, null=True, blank=True)
|
||||
application_version = models.CharField(max_length=255, null=True, blank=True)
|
||||
notes = models.TextField(null=True, blank=True)
|
||||
|
||||
def block(self):
|
||||
""" block a server """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue