From 4e55c29cdf43aa43e50dfff57ae7d3270d023d76 Mon Sep 17 00:00:00 2001 From: earthyoung Date: Sun, 23 Aug 2026 00:17:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20slideshow=20file=20=EC=99=B8=EC=97=90=20?= =?UTF-8?q?url=20=ED=95=84=EB=93=9C=EB=8F=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin_api/serializers/event/presentation.py | 1 + app/event/presentation/models.py | 5 ++++- app/event/presentation/serializers.py | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/admin_api/serializers/event/presentation.py b/app/admin_api/serializers/event/presentation.py index 8e9a58d..ae21cf6 100644 --- a/app/admin_api/serializers/event/presentation.py +++ b/app/admin_api/serializers/event/presentation.py @@ -49,6 +49,7 @@ class Meta: "summary_en", "slideshow_url", "public_slideshow_file", + "public_slideshow_url", "image", "description_ko", "description_en", diff --git a/app/event/presentation/models.py b/app/event/presentation/models.py index e409d79..54e23cf 100644 --- a/app/event/presentation/models.py +++ b/app/event/presentation/models.py @@ -116,9 +116,12 @@ class Presentation(BaseAbstractModel): on_delete=models.PROTECT, null=True, blank=True, - help_text="최종 외부 공개용 발표 자료", + help_text="최종 외부 공개용 발표 자료 (파일)", related_name="+", ) + public_slideshow_url = models.URLField( + null=True, blank=True, default="", help_text="최종 외부 공개용 발표 자료 (URL)" + ) categories = models.ManyToManyField(to="PresentationCategory", through="PresentationCategoryRelation") objects: PresentationQuerySet = PresentationQuerySet.as_manager() diff --git a/app/event/presentation/serializers.py b/app/event/presentation/serializers.py index de67b10..ffce059 100644 --- a/app/event/presentation/serializers.py +++ b/app/event/presentation/serializers.py @@ -98,6 +98,7 @@ class Meta: "description", "slideshow_url", "public_slideshow_file", + "public_slideshow_url", "image", "categories", "speakers",