From 0d8acd7a5dfee6683484aa4d84f625bb39a5a7e2 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 5 Aug 2026 13:56:15 +0200 Subject: [PATCH] prefer slug --- teleforma/models/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/models/core.py b/teleforma/models/core.py index 20321042..5848fef9 100644 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -1036,7 +1036,7 @@ def get_media_path(instance, filename): instance.conference.department.organization.name, instance.conference.department.name, str(instance.conference.date_begin.year), - instance.conference.course.code, + instance.conference.course.slug, instance.conference.course_type.slug, instance.conference.public_id, filename -- 2.47.3