Add: filetype field to the PostFile model
This commit is contained in:
parent
4d4c1c7e11
commit
a1f1fac5a6
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class PostFileModel(models.Model):
|
|||
width = models.IntegerField(null=True)
|
||||
|
||||
mimetype = models.CharField(max_length=256, blank=True)
|
||||
file_type = models.CharField(max_length=16, blank=True)
|
||||
|
||||
extension = models.CharField(max_length=64, blank=True)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue