Add: new fields image size, source, extra file

This commit is contained in:
Aroy-Art 2024-09-07 22:26:29 +02:00
parent e41992917a
commit 0151f5bd3f
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -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")