mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Add a file upload type to questions (#534)
* Initial stuff * More features
This commit is contained in:
@@ -16,7 +16,7 @@ def cachedfile_name(instance, filename: str) -> str:
|
||||
|
||||
class CachedFile(models.Model):
|
||||
"""
|
||||
A cached file (e.g. pre-generated ticket PDF)
|
||||
An uploaded file, with an optional expiry date.
|
||||
"""
|
||||
id = models.UUIDField(primary_key=True, default=uuid.uuid4)
|
||||
expires = models.DateTimeField(null=True, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user