Larger file type field

This commit is contained in:
Mouse Reeve
2022-01-17 09:03:53 -08:00
parent 942092d6b1
commit 7b1693a435
3 changed files with 43 additions and 1 deletions

View File

@ -53,7 +53,8 @@ class FileLink(Link):
book = models.ForeignKey(
"Book", on_delete=models.CASCADE, related_name="file_links", null=True
)
filetype = fields.CharField(max_length=5, activitypub_field="mediaType")
filetype = fields.CharField(max_length=50, activitypub_field="mediaType")
is_purchase = fields.BooleanField(null=True, blank=True)
StatusChoices = [