From: Frédéric Péters Date: Mon, 1 Aug 2022 19:34:10 +0000 (+0200) Subject: update /onair.json message X-Git-Tag: v2023~9 X-Git-Url: https://git.0d.be/?p=panikweb-esperanzah.git;a=commitdiff_plain;h=b4ba3eedd4f13548e62877d12d33774b71b20cde update /onair.json message --- diff --git a/panikweb_esperanzah/views.py b/panikweb_esperanzah/views.py index bd64f5c..d25450b 100644 --- a/panikweb_esperanzah/views.py +++ b/panikweb_esperanzah/views.py @@ -95,9 +95,7 @@ archives = ArchivesView.as_view() def onair(request): if datetime.date.today() >= datetime.date(2022, 8, 1): - return JsonResponse( - {'data': {'emission': {'title': 'On se revoit en 2023, découvrez les podcasts !', 'url': '/'}}} - ) + return JsonResponse({'data': {'emission': {'title': 'Découvrez les podcasts !', 'url': '/'}}}) playing_txt = os.path.join(settings.MEDIA_ROOT, 'playing.txt') if os.path.exists(playing_txt):