Larger file type field
This commit is contained in:
parent
942092d6b1
commit
7b1693a435
3 changed files with 43 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue