mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Thumbnails: Store creation date (#2920)
This commit is contained in:
@@ -29,6 +29,7 @@ class Thumbnail(models.Model):
|
||||
source = models.CharField(max_length=255)
|
||||
size = models.CharField(max_length=255)
|
||||
thumb = models.FileField(upload_to='pub/thumbs/', max_length=255)
|
||||
created = models.DateTimeField(auto_now_add=True, null=True)
|
||||
|
||||
class Meta:
|
||||
unique_together = (('source', 'size'),)
|
||||
|
||||
Reference in New Issue
Block a user