Add: new fields image size, source, extra file
This commit is contained in:
parent
e41992917a
commit
0151f5bd3f
1 changed files with 12 additions and 6 deletions
|
@ -70,6 +70,12 @@ class Submission_File(models.Model):
|
|||
file_ext = models.CharField(max_length=64, blank=True)
|
||||
date_added = models.DateTimeField(auto_now_add=True, editable=True)
|
||||
|
||||
extra_file = models.BooleanField(default=False)
|
||||
file_source = models.CharField(max_length=32, blank=True)
|
||||
|
||||
image_height = models.PositiveIntegerField(null=True)
|
||||
image_width = models.PositiveIntegerField(null=True)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("Submission File")
|
||||
verbose_name_plural = _("Submission Files")
|
||||
|
|
Loading…
Reference in a new issue