mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Increase maximum filename size of FileFields
This commit is contained in:
@@ -4,7 +4,7 @@ from django.db import models
|
||||
class Thumbnail(models.Model):
|
||||
source = models.CharField(max_length=255)
|
||||
size = models.CharField(max_length=255)
|
||||
thumb = models.FileField(upload_to='pub/thumbs/')
|
||||
thumb = models.FileField(upload_to='pub/thumbs/', max_length=255)
|
||||
|
||||
class Meta:
|
||||
unique_together = (('source', 'size'),)
|
||||
|
||||
Reference in New Issue
Block a user