From 729501ac18cc54bba5044f12604f5583a7b1de4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mih=C3=A1lik?= Date: Sat, 14 Dec 2024 18:38:25 +0100 Subject: [PATCH] Add trailing slash --- competition/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/competition/models.py b/competition/models.py index 140204d..132e25c 100644 --- a/competition/models.py +++ b/competition/models.py @@ -736,7 +736,7 @@ class Meta: event = models.ForeignKey(Event, null=True, on_delete=models.SET_NULL) file = RestrictedFileField( - upload_to='publications/%Y', + upload_to='publications/%Y/', content_types=['application/pdf', 'application/zip'], verbose_name='súbor')