From 168f6651ebf84afdf273e066531c5ebd9f493424 Mon Sep 17 00:00:00 2001 From: Viner Abubakirov Date: Mon, 23 Feb 2026 20:44:33 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=81=20=D0=BF=D1=83=D1=82=D1=8F=D0=BC=D0=B8=20?= =?UTF-8?q?=D0=B2=20DiskChunkUploadBackend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/uploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/uploader.py b/app/utils/uploader.py index bea7d17..51bed60 100644 --- a/app/utils/uploader.py +++ b/app/utils/uploader.py @@ -44,7 +44,7 @@ class DiskChunkUploadBackend(ChunkUploadBackend): return self._file.close() relative_path = settings.MEDIA_DIR.relative_to(settings.BASE_DIR) - return os.path.join(relative_path, self._file.name) + return str(relative_path / self._file.name) def abort(self): if self._file: